The Excel Minifs function returns the minimum value from a subset of values that are specified according to one or more criteria.
The syntax of the function is:
Where the function arguments are:
|min_range||-||An array of numeric values (or a range of cells containing numeric values), from which you want to return the minimum value if the criteria are satisfied.|
|criteria_range1||-||min_range).(This array must all have the same length as the|
|criteria1||-||The condition to be tested against the values in criteria_range1.|
[criteria_range3, criteria3], ...
|-||Optional further arrays of values to be tested and the respective conditions to test.|
The spreadsheet below shows the quarterly sales figures for 3 sales representatives.
The Minifs function can be used to find the minimum sales figure for any quarter, area or sales rep.
This is shown in the examples below.
To find the minimum sales figure during quarter 1:
which gives the result $125,000.
I.e. the function finds the minimum of the values $223,000, $125,000 and $456,000 (from cells D2, D3 and D4).
Again, using the data spreadsheet above, we can also use the Minifs function to find the minimum sales figure for "Jeff", during quarters 3 and 4:
This formula returns the result $261,000.
In this example, the Excel Minifs function identifies rows where:
and returns the minimum of the corresponding values in column D.
I.e. this formula finds the minimum of the values $310,000 and $261,000 (from cells D8 and D11).
For further examples of the Excel Minifs function, see the Microsoft Office website.
If you get an error from the Excel Minifs function, this is likely to be one of the following:
|#VALUE!||-||Occurs if the supplied min_range and criteria_range arrays do not all have equal length.|
|#NAME?||-||Occurs if you are using an older version of Excel (pre-2016), that does not support the Minifs function.|