The MIN function in Excel returns the smallest numeric value in a range of cells. It is the quickest way to find the lowest number in a list, a column, or even across multiple non-adjacent ranges. The basic syntax is =MIN(number1, [number2], ...), where you can reference individual cells, ranges, or typed numbers. This guide covers the standard MIN function, the conditional MINIFS version, and how to handle common errors like text or blank cells.
What You'll Need
- Microsoft Excel (2010 or later for MINIFS; any version for MIN).
- A worksheet with numeric data, or you can type numbers directly into the formula.
- Basic familiarity with typing formulas and selecting cell ranges.
Step-by-Step
Using MIN for a Simple Range
- Click the cell where you want the result to appear.
- Type
=MIN(. Excel will show a tooltip listing the arguments. - Select the range of cells containing your numbers. For example, if your numbers are in cells A1 through A10, click and drag from A1 to A10, or type
A1:A10manually. - Close the parenthesis and press Enter. The cell now shows the smallest number in that range.
Using MIN with Individual Numbers or Cells
- Instead of a range, you can list up to 255 individual arguments. For instance,
=MIN(5, 3, 8)returns 3. - You can mix ranges and numbers:
=MIN(A1:A5, 10, B2)finds the smallest value among the range, the number 10, and cell B2. - This is useful when you need to compare a few specific values without rearranging your sheet.
Using MINIFS for Conditional Minimums
MINIFS returns the smallest number that meets one or more criteria. This is available in Excel 2019, Excel 365, and Excel for the web. In older versions, you would need an array formula (see Tips below).
- Click the result cell.
- Type
=MINIFS(. The syntax is=MINIFS(min_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...). - Select the range that contains the numbers you want to evaluate for the minimum. This is the min_range. For example, if you have sales amounts in column B, select B2:B100.
- Select the range that contains the condition to check. This is the criteria_range1. For example, if column A has region names, select A2:A100.
- Type the criteria. For example,
"West"(with quotes) to match the text exactly, or">100"for numbers greater than 100. - Close the parenthesis and press Enter. The result is the smallest value in B2:B100 where the corresponding cell in A2:A100 is "West".
Finding the Minimum Ignoring Zeros
Sometimes you want the smallest positive number, excluding zeros. The MIN function will include zero if it is in the range. To exclude zeros, use an array formula or MINIFS.
- Use MINIFS with a criteria of
">0". For example,=MINIFS(A1:A10, A1:A10, ">0"). This works because the criteria range is the same as the min range. - In older Excel versions, enter this as an array formula:
=MIN(IF(A1:A10>0, A1:A10))and press Ctrl+Shift+Enter instead of just Enter. You will see curly braces around the formula in the formula bar.
Finding the Minimum Across Multiple Sheets
- To find the minimum of the same cell across several sheets, use a 3D reference. For example,
=MIN(Sheet1:Sheet3!A1)returns the smallest value in cell A1 from Sheet1, Sheet2, and Sheet3. - All sheets in the range must be adjacent in the tab order. If they are not, list each sheet separately:
=MIN(Sheet1!A1, Sheet3!A1).
Common Mistakes
- Including text or blank cells in the range: MIN ignores text, logical values (TRUE/FALSE), and empty cells. If you have a cell that looks like a number but is stored as text, it will be ignored. This can give a misleading result if you expected that value to be considered.
- Using MIN on a range with errors: If any cell in the range contains an error (like #DIV/0! or #N/A), MIN will return that error instead of a number. You need to fix the error or use an array formula to ignore errors (see Troubleshooting).
- Forgetting to close the parenthesis: Excel will usually auto-correct this, but if you type manually, a missing parenthesis can cause a syntax error.
- Using MINIFS with mismatched range sizes: The min_range and criteria_range must be the same size and shape. If they are not, MINIFS returns #VALUE!.
- Typing criteria incorrectly: Text criteria must be in quotes, and numeric criteria with operators must also be in quotes, like
">10". Writing>10without quotes will cause an error.
Tips
- Use the AutoSum button on the Home tab. Click the dropdown arrow next to AutoSum and select “Min”. Excel will guess the range, which you can adjust.
- For a quick visual check, use Conditional Formatting to highlight the minimum value. Select the range, go to Home > Conditional Formatting > Top/Bottom Rules > Bottom 10 Items, and set it to 1 item.
- If you have a large dataset, consider using a PivotTable to find the minimum by category, which is often easier than writing a MINIFS formula.
- To find the minimum date or time, the same MIN function works because dates and times are stored as numbers in Excel.
- In older Excel (before 2019), use the array formula
{=MIN(IF(condition, range))}with Ctrl+Shift+Enter to replicate MINIFS. - If you want the minimum but need to ignore zeros and errors, use the AGGREGATE function:
=AGGREGATE(15, 6, A1:A10, 1). The 15 means SMALL, the 6 means ignore errors, and the 1 means the smallest. This works in Excel 2010 and later.
Troubleshooting
MIN returns #VALUE!
This usually happens when you have text in the range that cannot be coerced to a number. Check for cells that have a green triangle in the corner (indicating a number stored as text). Select those cells, click the warning icon, and choose “Convert to Number”. Alternatively, use the VALUE function in a helper column: =VALUE(A1) and then take the MIN of that column.
MIN returns an error like #DIV/0! or #N/A
MIN propagates any error found in the range. Find the error cell by pressing F5 > Special > Errors, then fix the underlying issue. If you cannot fix it, use AGGREGATE as mentioned above, or an array formula: {=MIN(IF(ISNUMBER(A1:A10), A1:A10))} with Ctrl+Shift+Enter to ignore non-numbers and errors.
MINIFS returns #VALUE!
Check that the min_range and criteria_range are the same size. Also ensure that the criteria are typed correctly. For example, if you are matching text, make sure the text is spelled exactly as it appears in the cells, including spaces.
MIN ignores a cell that looks like a number
This is almost always because the cell is formatted as text. Select the cell, go to the Home tab, and change the number format to General, then re-enter the number. Or use the Text to Columns wizard (Data tab) to convert the column to numbers.
MIN returns 0 when you expected a positive number
If your range contains zeros, MIN will return 0. To exclude zeros, use MINIFS with ">0" criteria, or the array formula {=MIN(IF(A1:A10>0, A1:A10))}. If you want to exclude blanks and zeros, use {=MIN(IF(A1:A10<>0, A1:A10))}.
Formula works but gives the wrong result
Double-check the range you selected. It is easy to accidentally include an extra row or column. Also verify that there are no hidden rows or filtered cells that you might have overlooked. Use the Name Manager (Formulas tab) to name your range, which makes it easier to reference and audit.
Frequently Asked Questions
Can MIN ignore blank cells?
Yes, MIN automatically ignores blank cells and cells with text. Only numeric values are considered.
How do I find the minimum in a row, not a column?
Select the row range instead of a column range. For example, =MIN(A1:F1) returns the smallest number in that row.
What is the difference between MIN and MINA?
MIN ignores text and logical values, while MINA (in older Excel versions) counts text as 0 and logical TRUE as 1, FALSE as 0. In modern Excel, MINA is deprecated; use MIN and handle text separately.
Can I use MIN with dates?
Yes, dates are stored as serial numbers, so MIN will return the earliest date. Just format the result cell as a date.
How do I find the second smallest number?
Use the SMALL function: =SMALL(range, 2) returns the second smallest. Replace 2 with any rank you need.
Does MIN work with entire columns like A:A?
Yes, you can reference an entire column, but be careful: it will process all cells in that column, which can slow down your workbook if used excessively. It is better to limit the range to your data.