MIN Function in Excel
Returns the smallest number in a range. Simple in principle — but it silently ignores text, quietly returns zero for empty ranges, and has an evil twin called MINA that will fool you. Here's how to use it right.
MIN vs MINA — The Text Trap
Excel has two versions of MIN. They look alike. They behave differently. Pick the wrong one and your answer becomes silently, dangerously zero.
MINA = 10
MINA = 0
MINA = 0
MINA = 1
MIN — always. MINA only makes sense if you specifically want text and FALSE to count as zero, and TRUE to count as one. That's a rare requirement. Every "unexpected zero from MINA" bug in Excel history came from someone using MINA when they meant MIN.
Quick Answer
MIN returns the smallest number in a list of values. It ignores empty cells, text, and logical values inside a range.
Example: =MIN(A2:A20) returns the smallest number in the range. =MIN(A2:A20, 100) compares the range against a floor of 100 too.
📊 MIN Practice Workbook
All 5 examples below, MINA trap demo, and the SMALL comparison — ready to open in Excel.
Syntax
MIN accepts between 1 and 255 arguments. Each argument can be a number, cell reference, or range.
| Argument | Type | Description |
|---|---|---|
| number1 | Required | The first number, cell reference, or range for which you want the smallest value. |
| number2, ... | Optional | Up to 254 additional numbers, references, or ranges. Useful for adding a floor value, e.g. =MIN(A2:A100, 0). |
What MIN ignores inside a range: empty cells, text, and logical values (TRUE/FALSE). What it counts: zero — it's a valid number. If passed as a direct literal argument, TRUE = 1 and FALSE = 0.
5 Worked Examples
Find the lowest price in a product list
Classic use case — cheapest item in a catalog.
| Product | Price |
|---|---|
| Widget A | $45.00 |
| Widget B | $62.00 |
| Gadget X | $29.50 |
| Gadget Y | $88.00 |
| Toolkit Pro | $149.00 |
Result: $29.50 — Gadget X, the cheapest item.
Find the earliest date in an event list
Excel stores dates as serial numbers, so MIN works on dates naturally.
| Event | Date |
|---|---|
| Kickoff Meeting | Mar 15, 2026 |
| Design Review | Apr 08, 2026 |
| Sprint Planning | Feb 22, 2026 |
| Product Launch | May 30, 2026 |
Result: Feb 22, 2026 — the earliest date. Format the result cell as a date to display it properly.
MIN vs MINA — the text-trap in action
Same data, two functions, two very different answers. This is the bug people never see coming.
| Cell | Value |
|---|---|
| C2 | 45 |
| C3 | 62 |
| C4 | "pending" |
| C5 | 88 |
| C6 | 125 |
MINA treats "pending" as zero. Your report now says "lowest value = 0" and nobody questions it. This is why MIN is almost always what you want.
Floor with MIN — cap a value at a maximum
Pass two arguments to enforce a ceiling. Common in commission caps, tax brackets, and discount limits.
If A2 is 320, returns 320. If A2 is 750, returns 500. This is how you say "give me the value, but never more than 500."
Naming convention: people call this "flooring" (with MIN) or "capping" — both mean the same thing here. To floor a value up to a minimum instead, use MAX: =MAX(A2, 0) ensures the result is never negative.
Multiple ranges combined
Find the smallest value across two disconnected columns — e.g. lowest price across two catalogs.
Excel treats both ranges as one pool. Same math as if you'd copy-pasted both columns into a single column and taken MIN.
Interactive Playground
Your Data (7 values, mixed types)
A3 → "N/A" (text)
A4 → 45
A5 → 88
A6 → (blank)
A7 → 67
A8 → FALSE (logical)
Two Functions, Two Answers
Ignores "N/A", blank, and FALSE. Correct.
Reads "N/A" as 0 and FALSE as 0. Wrong.
The Basic Aggregates Family
Four functions that describe a dataset in a single number. Learn one, understand all four.
Beyond MIN — Use SMALL for the 2nd, 3rd, or Nth Smallest
MIN gives you the winner. SMALL lets you skip the winner and get the runner-up. Essential for outlier-trimmed reporting.
| Formula | Returns | Result |
|---|---|---|
=MIN(A2:A10) |
The smallest value | 12 |
=SMALL(A2:A10, 1) |
The 1st smallest (same as MIN) | 12 |
=SMALL(A2:A10, 2) |
The 2nd smallest | 18 |
=SMALL(A2:A10, 3) |
The 3rd smallest | 25 |
Real-world use: trimmed-mean calculations. Instead of averaging all values (skewed by outliers), average positions 2 through N–1: =AVERAGE(SMALL(range, ROW(INDIRECT("2:9")))). Or find the "second cheapest" alternative for a fallback purchase decision.
⚠ The Empty-Range Zero Trap
MIN of an empty range returns 0, not an error. This is Excel's most silent trap for MIN. If your data is filtered, empty, or dynamically populated, MIN can return 0 when there's genuinely no data — and you'll never know unless you check.
Fixed: =IF(COUNT(A2:A100)=0, "no data", MIN(A2:A100)) → returns "no data"
When to worry: dashboards with filter-dependent ranges, dynamic tables, or ranges populated by other formulas that can return "". Zero is a perfectly valid "smallest" value elsewhere in your worksheet, so this trap only reveals itself when someone finally asks "why is our minimum revenue showing $0?"
Common Errors
| Error | Cause | Fix |
|---|---|---|
| Returns 0 unexpectedly | The range is empty, contains only text/blanks, or you're using MINA when you meant MIN. | Guard with COUNT: =IF(COUNT(range)=0, "no data", MIN(range)). Verify you're using MIN, not MINA. |
| #VALUE! | A directly-entered argument is a text string that can't convert to a number, e.g. =MIN("hello", 5). |
Remove the text argument or wrap it in VALUE() if it's a numeric string like "123". |
| #NAME? | Function name typo: =MNI or =MIN( with a missing closing bracket. |
Check spelling. Excel auto-suggests as you type — accept the suggestion with Tab. |
| #N/A propagation | The range contains a cell with #N/A or another error — MIN inherits it. | Fix at the source with IFERROR, or wrap MIN itself: =MIN(IFERROR(range, "")) as an array formula (Ctrl+Shift+Enter in Excel 2016–). |
| Wrong answer with dates | Dates are stored as numbers but displayed as text — MIN of text-formatted dates returns the wrong result. | Convert to real dates first with DATEVALUE() or fix the source column's data type. |
📊 Practice What You Just Read
Every example, the MINA trap, the SMALL comparison — all in one workbook. Change the values, watch MIN respond.
Related Functions
Compatibility
| Platform | Supported | Version | Notes |
|---|---|---|---|
| Excel for Windows | ✓ | 1.0+ (1985) | All versions |
| Excel for Mac | ✓ | 1.0+ | All versions |
| Microsoft 365 | ✓ | Current | Full support |
| Excel Online | ✓ | Current | Full support |
| Excel Mobile (iOS/Android) | ✓ | Current | Full support |
| Google Sheets | ✓ | All | Identical behavior |
| LibreOffice Calc | ✓ | All | Identical behavior |
How to Use MIN — Step by Step
- Click an empty cell where you want the smallest value to appear.
- Type
=MIN(— Excel auto-suggests the function. Be careful not to press Tab-Enter on MINA by accident. - Select the range of numbers, or type it manually: e.g.
B2:B100. - Close the parenthesis with
)and press Enter. - Guard against empty ranges. If your range might be empty, wrap with COUNT:
=IF(COUNT(B2:B100)=0, "no data", MIN(B2:B100)). This is the difference between a professional dashboard and a misleading one. - For Nth-smallest, switch to SMALL:
=SMALL(range, 2)returns the second smallest. Useful for trimmed statistics.
Explore More Functions
📊 One More Time — Grab the Workbook
All 5 MIN examples plus AVERAGE, MEDIAN, MAX. Free forever.
Frequently Asked Questions
What's the difference between MIN and MINA?
MIN ignores text, empty cells, and logical values inside a range. MINA treats text as 0, FALSE as 0, and TRUE as 1 — so it can silently return 0 when your data contains any text at all.
Rule: use MIN unless you have a specific reason to want text-as-zero behavior (which is almost never). Every "why is my minimum zero?" bug traces back to accidentally picking MINA from Excel's auto-suggest.
Why does MIN return 0 when my range is empty?
Excel's MIN treats an empty range as if it had one value: 0. It doesn't return an error. This is a design decision that predates modern Excel and won't change.
Guard with COUNT: =IF(COUNT(range)=0, "no data", MIN(range)). Or use IFERROR only after making the empty case genuinely error out — e.g. =IFERROR(MIN(range)/COUNT(range)*COUNT(range), "no data") (ugly but works).
Can MIN work with dates?
Yes. Excel stores dates as serial numbers, so MIN naturally returns the earliest date. Format the result cell as a date to display it properly.
Trap: if your dates are stored as text (common with imported CSVs), MIN will either error or return the wrong result. Convert with DATEVALUE() first, or fix the source column's format.
How do I find the minimum value with criteria?
Use MINIFS (Excel 2019+): =MINIFS(value_range, criteria_range, criterion). For example, =MINIFS(B2:B100, C2:C100, "North") returns the smallest value from B where C is "North".
For Excel 2016 and earlier, use an array formula: =MIN(IF(C2:C100="North", B2:B100)) entered with Ctrl+Shift+Enter.
What's the difference between MIN and SMALL?
MIN returns the smallest value. SMALL returns the k-th smallest — you specify the position. =SMALL(range, 1) equals =MIN(range), but =SMALL(range, 2) returns the second-smallest, which MIN can't do.
Use SMALL for trimmed-mean calculations, "second best" logic, or when you want to skip the outlier and get the runner-up.
Does MIN count zero as a valid value?
Yes — zero is a number and MIN counts it. If your range contains zeros and other positive values, MIN returns 0.
To find the smallest non-zero value, use an array formula: =MIN(IF(range<>0, range)) entered with Ctrl+Shift+Enter (or plain Enter in Excel 365).
Can MIN handle negative numbers?
Yes. MIN returns the mathematically smallest value, which means large negative numbers "win." For example, =MIN(-50, -10, 20) returns -50, not -10 or 20.
If you want the smallest by absolute value, use =MIN(ABS(range)) — but that's a different question ("closest to zero") and requires an array formula in older Excel.
How do I combine MIN with a floor value?
Pass the floor as an extra argument: =MIN(A2, 500) returns A2 or 500, whichever is smaller. This is how you say "give me the value, but never more than 500" — a cap.
To enforce a minimum-floor instead (never less than X), use MAX: =MAX(A2, 0) ensures the result is never negative.
What if my range contains errors like #N/A?
MIN propagates errors — any error in the range returns that error. Fix at the source with IFERROR, or wrap the range: =MIN(IFERROR(range, "")) as an array formula.
Better: use AGGREGATE, which has built-in error handling: =AGGREGATE(5, 6, range) — the "5" means MIN, the "6" means ignore errors. Works in Excel 2010+.
Can I use MIN in conditional formatting?
Yes. A common pattern: highlight the smallest value in a range with formula =A2=MIN($A$2:$A$100). Only the cell(s) matching the minimum get highlighted.
Watch the mixed references: A2 is relative (changes per row), $A$2:$A$100 is absolute (the range stays the same as Excel evaluates each cell).
Does MIN work across multiple sheets?
Yes, using a 3D reference: =MIN(Sheet1:Sheet4!A1) returns the smallest value of cell A1 across four sheets. You can also do =MIN(Sheet1!A2:A10, Sheet2!A2:A10).
Requires the sheets to be adjacent (Sheet1 through Sheet4 must be next to each other in the tab order) for the 3D syntax to work.
Is there a performance difference between MIN and MINIFS?
For small datasets (up to ~10,000 cells) the difference is imperceptible. For larger datasets, MINIFS is slightly slower because it evaluates a criterion per row.
Both are fast compared to array-formula alternatives. If your workbook has hundreds of MINIFS calls across huge ranges, consider a Power Query pre-aggregation instead.
Templates That Use MIN
Inventory Tracker
Minimum stock level per SKU — when to reorder, when to escalate. MIN drives the reorder trigger column.
USES MINSales Dashboard
Lowest-performing rep, cheapest deal size, earliest close date — MIN across the board for red-flag metrics.
USES MINBudget Tracker
Minimum monthly spend by category — the "you can survive on this" number for lean months.
USES MINProject Timeline
Earliest task start date across the project — MIN of the "start" column tells you when the clock actually began.
USES MINPrice Comparison Sheet
Cheapest vendor per line item. MIN of a row across supplier columns picks the winner automatically.
USES MINEmployee Attendance
Fewest days attended per employee, per month. MIN column-wise reveals underperformers or people needing support.
USES MINExpense Report
Smallest reimbursement, cheapest travel line, minimum daily allowance. MIN sanity-checks the whole report.
USES MINStudent GPA Calculator
Lowest grade across the semester — often used to identify which course to drop or focus on.
Never Confuse MIN with MINA Again
Excel Wizard sits inside Excel and writes MIN correctly — plus MINIFS, SMALL, and trimmed-mean patterns — from a plain-English prompt. AI-powered formulas, right in your ribbon.
Get Excel Wizard Add-in →