The mirror of MAXIFS: MINIFS returns the smallest value that meets a condition — the cheapest product in a category, the lowest time per group — without an array formula.
The example
Orders by region. We want the smallest West order.
| A | B | C | E | F | ||
|---|---|---|---|---|---|---|
| 1 | Rep | Region | Amount | Region | Min | |
| 2 | Ana | West | $120 | West | $120 | |
| 3 | Ben | East | $50 | |||
| 4 | Cy | West | $180 | |||
| 5 | Dot | East | $70 | |||
| 6 | Eve | West | $150 |
The formula
The smallest West order — East’s $50 is ignored:
How it works
MINIFS filters, then takes the minimum:
- The first argument,
C2:C6, is the range to take the minimum from. - The pair
B2:B6, "West"restricts to West rows. - MINIFS returns the smallest matching value —
120— not East’s lower $50. - Add more conditions with extra range, criteria pairs.
Try it: interactive demo
Pick a region; see the smallest order in it.
Variations
Min above zero (ignore blanks/zeros)
Smallest positive value:
Min with two conditions
Cheapest West Widget:
Legacy array version
For Excel 2016 and older (Ctrl+Shift+Enter):
Pitfalls & errors
MINIFS needs Excel 2019+. Older versions show #NAME? — use MIN(IF()) array-entered.
Returns 0 when nothing matches — and also if 0 is genuinely the smallest. If blanks sneak in as zeros, add a ">0" condition.
Mismatched range sizes give #VALUE!. Keep the min range and criteria ranges identical in size.
Practice workbook
Frequently asked questions
How do I find the minimum value with a condition in Excel?
How do I ignore zeros in MINIFS?
How do I do MINIFS in older Excel?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class