MIN function
Returns the smallest number in a set of values, such as the lowest price, the lowest score or the earliest date.
Available in All versions of Excel, including Microsoft 365 and Excel for the web
In every Excel versionWorks in Google Sheets
Syntax
MIN(number1, [number2], ...)| Argument | What it means | |
|---|---|---|
number1 | Required | A number, cell reference or range. |
number2, ... | Optional | Up to 255 numbers, references or ranges in total. |
Returns: The smallest numeric value, or 0 if there are no numbers.
How MIN works
MIN returns the lowest number in the values you give it: the cheapest supplier quote, the weakest exam score, the smallest stock level, the earliest start date. Like MAX, you can combine several ranges and fixed numbers in one call.
Empty cells, text and logical values inside ranges are ignored, so a blank cell is not treated as 0. If there are no numbers at all, MIN returns 0. An error value in the range makes MIN return that error. For a minimum with conditions use MINIFS; for the second or third smallest use SMALL. MIN is also a quick way to cap a value: =MIN(commission, 500) never pays more than 500.
Examples
1Lowest exam score
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Student | Score | ||
| 2 | Ana | 78 | 64 | |
| 3 | Ben | 91 | ||
| 4 | Chloe | 64 | ||
| 5 | Dev | |||
| 6 | Eva | 85 |
Result: 64
Dev has not sat the exam yet; his empty cell is ignored, not treated as 0. The lowest score is Chloe's 64.
2Cap a commission
| A | B | C | |
|---|---|---|---|
| 1 | Rep | Sales | Commission |
| 2 | Ana | 3800 | |
| 3 | Ben | 7200 | 500 |
Result: 500
8% of 7,200 is 576, above the 500 cap, so MIN returns 500. Ana's commission (304) is below the cap and is paid in full.
3Earliest start date
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Project | Start | ||
| 2 | Website | 2026-04-14 | 2026-02-03 | |
| 3 | CRM | 2026-02-03 | ||
| 4 | Audit | 2026-03-20 |
Result: 2026-02-03
Dates are serial numbers, so the smallest is the earliest. Format D2 as a date to see 2026-02-03 (serial number 46056).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#N/A (or another error) | The range contains an error value. | Fix it, or use =AGGREGATE(5,6,range) to skip errors. |
Result is 0 unexpectedly | No real numbers in the range, or the range contains a real 0. | Check for text numbers; use =MINIFS(range,range,">0") to ignore zeros. |
Tips
- To ignore zeros (for example unfilled price quotes entered as 0), use
=MINIFS(B2:B20, B2:B20, ">0"). =MIN(MAX(x, 0), 100)keeps a value between 0 and 100.- Get the matching name with
=XLOOKUP(MIN(B2:B6), B2:B6, A2:A6).
Questions
Does MIN treat blank cells as zero?
No, blank cells are ignored. Cells that contain 0 are counted, which is why zeros often show up as the minimum.
How do I find the lowest value above zero?
Use =MINIFS(range, range, ">0") in Excel 2019+, or =SMALL(range, COUNTIF(range, 0)+1) for non-negative data in older versions.
Google Sheets
MIN also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
MIN in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Portuguese (Brazil) | MÍNIMO |
| Portuguese (Portugal) | MÍNIMO |
| Russian | МИН |
| Turkish | MİN |
Recipes that use MIN
- How to calculate overtime in Excel
- How to create a progress bar in Excel cells
- How to extract numbers from text in Excel