Excel MIN with Multiple Criteria: 3 Formulas

Formulas & functions · Updated November 23, 2026

The quickest way to find a minimum value in Excel with multiple criteria is to use the MINIFS function (Excel 2019 and later). For example, with regions in A2:A20 and sales in B2:B20, =MINIFS(B2:B20,A2:A20,"West") returns the smallest sales figure for the West region. If you need to match several conditions, just add more range/criteria pairs: =MINIFS(B2:B20,A2:A20,"West",C2:C20,"Q1").

Why MINIFS Is the Right Tool

Before Excel 2019, finding a minimum with conditions meant using an array formula with MIN and IF, or a SUMPRODUCT trick. MINIFS was introduced to make this task straightforward and less error-prone. It works like SUMIFS and AVERAGEIFS: you give it the range to evaluate, then pairs of criteria ranges and conditions. It is available in Excel 2019, Excel 2021, and Microsoft 365, but not in Excel 2016 or earlier. If you are on an older version, you will need the array formula approach described below.

How MINIFS Works with Real Examples

Assume you have a table with headers in row 1: Product in A2:A20, Region in B2:B20, Quarter in C2:C20, and Sales in D2:D20. To find the lowest sales for the “North” region in “Q1”:

  • Click an empty cell, say F2.
  • Type =MINIFS(D2:D20,B2:B20,"North",C2:C20,"Q1") and press Enter.
  • Excel returns the smallest value in D2:D20 where B is “North” and C is “Q1”. If no rows match, it returns 0.

You can also use cell references for criteria. With “North” in F1 and “Q1” in G1, the formula becomes =MINIFS(D2:D20,B2:B20,F1,C2:C20,G1). This makes it easy to change the criteria without editing the formula.

Array Formula Alternative for Older Excel

If you use Excel 2016 or earlier, MINIFS is not available. Instead, use an array formula. With the same data layout, enter:

=MIN(IF((B2:B20="North")*(C2:C20="Q1"),D2:D20))

This must be confirmed with Ctrl+Shift+Enter on Windows (or Command+Shift+Enter on Mac) so that Excel wraps it in curly braces { }. The multiplication acts like AND. If you only need one condition, you can drop the second part: =MIN(IF(B2:B20="North",D2:D20)). This works in all versions, but it is slower on large datasets and can be tricky to edit.

Handling Zeros and Empty Cells

A common surprise is that MINIFS ignores empty cells but includes zero values. If your data has blank cells that you want to treat as missing, they are ignored automatically. But if a zero is a legitimate value, it will be returned as the minimum. To exclude zeros, you can add a criteria: =MINIFS(D2:D20,B2:B20,"North",D2:D20,"<>0"). Note that you cannot use a criteria range that is the same as the min range? Actually you can, as shown. For text criteria, use quotes. For numeric criteria, no quotes needed.

Using MIN with SUMPRODUCT as a Workaround

Another method that works in all versions is the SUMPRODUCT trick: =SUMPRODUCT(MIN(IF((B2:B20="North")*(C2:C20="Q1"),D2:D20))). This is an array formula that does not require Ctrl+Shift+Enter because SUMPRODUCT handles arrays natively. However, it is less readable and can be slower. It is best used when you cannot use MINIFS and want to avoid the special keystroke.

Comparing MINIFS, MIN+IF, and SUMPRODUCT

  • MINIFS: Easiest to read, fastest, but only in Excel 2019+.
  • MIN+IF array: Works in all versions, but requires Ctrl+Shift+Enter and is slower.
  • SUMPRODUCT+MIN+IF: No special keystroke, but cryptic and slow.
  • PivotTable: For large data, a PivotTable with the field in the Values area set to Min is often the most efficient and interactive.

If you have a large dataset (thousands of rows), MINIFS is the best choice. For a one-off analysis, any method works.

Frequently Asked Questions

How do I use MINIFS with dates?

Dates are stored as numbers, so you can use criteria like ">="&DATE(2024,1,1) or reference a cell containing a date. For example, =MINIFS(D2:D20,B2:B20,"North",C2:C20,">="&E1) where E1 is a date. Always use the DATE function or a cell reference to avoid text-date confusion.

Can I use MINIFS with wildcards for text?

Yes, you can use asterisk (*) and question mark (?) in criteria. For example, =MINIFS(D2:D20,A2:A20,"A*") finds the minimum sales for products starting with “A”. Wildcards only work with text, not numbers.

Why does MINIFS return 0 when there are no matches?

That is the default behavior. If you want a blank or an error, wrap it in IFERROR: =IFERROR(MINIFS(...),"No match"). But note that MINIFS itself returns 0, not an error, so IFERROR won’t catch it. Use =IF(COUNTIFS(B2:B20,"North",C2:C20,"Q1")=0,"No match",MINIFS(...)).

Does MINIFS work with multiple criteria from the same column?

Yes, you can use the same criteria range multiple times. For example, to find the minimum sales for North or South, you would need to use an array trick, because MINIFS uses AND logic. For OR logic, use =MIN(IF((B2:B20="North")+(B2:B20="South"),D2:D20)) as an array formula.

Can I use MINIFS with a cell range that is not a column?

Yes, the min_range can be any range, but all ranges must have the same number of rows and columns. For example, =MINIFS(A1:C10,B1:B10,"X") would return the minimum of A1:C10 where B is X, but note that the min_range is a rectangle, so it will evaluate all cells in that rectangle.

Is there a way to get the minimum ignoring errors?

MINIFS ignores text and empty cells, but not errors. If your data has errors, use AGGREGATE: =AGGREGATE(15,6,D2:D20/((B2:B20="North")*(C2:C20="Q1")),1). This is an array formula that ignores errors and works in all versions.

Related

Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.

More in Formulas & functions

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.