Function · Statistical

Excel MINIFS function

The Excel MINIFS function returns the smallest number whose row passes every test. The smaller Austin Electric bill, of $143.60 and $118.45, is $118.45. No match returns 0.

Excel 2019, Excel 2021, Excel 2024, Microsoft 365, and Excel for the web. Also in Google Sheets. Excel 2016 does not have it.

Syntax =MINIFS(min_range, criteria_range1, criteria1, ...)

MINIFS
=MINIFS(C2:C5,A2:A5,"Austin",B2:B5,"Electric")

Arguments

NameRequiredWhat to pass
min_rangeRequiredThe numbers to compare. This argument comes first, as it does in SUMIFS and AVERAGEIFS.
criteria_range1RequiredThe first range to test. It must be the same shape as min_range.
criteria1RequiredThe test for that range. Text matches ignore case.
criteria_range2OptionalMore pairs. A row has to pass every test.

Examples

The lower Austin Electric bill

=MINIFS(C2:C5,A2:A5,"Austin",B2:B5,"Electric")

Result $118.45

=MINIFS(C2:C5,A2:A5,"Austin",B2:B5,"Electric")C6
Utilities
ABC
1CityCategoryAmount
2AustinElectric143.60
3DallasElectric110.00
4AustinGas96.20
5AustinElectric118.45
6118.45
A picture of the sheet, not a live calculator. If nothing matches, MINIFS returns 0, not an error.

MINIFS returns the smallest number among rows that pass every test. Austin and Electric together are $143.60 and $118.45, so the minimum is $118.45. Dallas Electric fails the city. Austin Gas fails the category. The average of those same two bills, on the AVERAGEIFS page, is $131.025. MAXIFS of them is $143.60.

The numbers come first, then each range and its test. A miss is 0, not #N/A and not #DIV/0!. A month that has not happened, with no matching row, looks like a bill of zero. COUNTIFS of the same tests tells you whether any row qualified. Excel 2016 does not have MINIFS. MIN of a filtered copy of the column is the older approach, and it is easy to point at the wrong rows.