How to use MIN in Excel
MIN returns the smallest number in a set of values — the lowest price, the earliest date or the worst score.
Syntax
=MIN(number1, [number2], ...)
number1 | A number, cell or range. |
[number2], … | Optional additional values. |
Examples
=MIN(C2:C50)Cheapest price in the list.=MIN(B2:B100)Earliest date (dates are numbers in Excel).=MAX(0, MIN(B2, 100))Keeps a value between 0 and 100.The smallest value with a condition
MINIFS finds the smallest value among the matching rows, like the earliest open invoice for one client.
=MINIFS(A2:A500, B2:B500, "Elm Studio", C2:C500, "Open")The date of the oldest open invoice for Elm Studio.=MINIFS(D2:D500, D2:D500, ">0")The smallest amount above zero, ignoring zeros.MIN as a cap
MIN of a value and a limit never goes above the limit. Bonuses, discounts and fees often have a maximum.
=MIN(B2*5%, 2000)5% commission, but no more than 2,000.=MAX(50, MIN(B2*1%, 500))A fee of 1% with a minimum of 50 and a maximum of 500.Common mistakes
- Returns 0
- A cell contains 0 or the range has no numbers. MIN returns 0 for an empty set.
- Text numbers are ignored
- Numbers stored as text are skipped, so the real minimum may be missed.
Tips
- For the smallest value with a condition, Excel 2019+ has
MINIFS(min_range, criteria_range, criteria).
Frequently asked questions
Why does MIN return 0?
The range contains a 0 or a blank cell that a formula filled with 0. To ignore zeros, use =MINIFS(B2:B100, B2:B100, ">0").
How do I find the second smallest value?
Use SMALL: =SMALL(B2:B100, 2).
How do I find the earliest date?
=MIN(A2:A500) with the dates in A. Format the result as a date, or you'll see a number.
Does MIN ignore text?
Yes, text and blank cells are skipped. Numbers stored as text are skipped too, which can make the result look too high.
Available in: All versions of Excel, Excel for the web, Google Sheets