MaxIfs and MinIfs

 

Use MAXIFS and MINIFS in Excel 2016 or later to find the maximum and minimum value based on one criteria or multiple criteria.

1. For example, the MAXIFS function below finds the highest female score.

MaxIfs Function in Excel, One Criteria

Note: the first argument (D2:D12 in this example) is always the range in which the maximum or minimum will be determined. This MAXIFS function has 1 range/criteria pair (B2:B12/Female).

2. The MINIFS function below finds the lowest female score.

MinIfs Function in Excel, One Criteria

3. For example, the MAXIFS function below finds the highest female score in Canada.

MaxIfs Function in Excel, Multiple Criteria

Note: this MAXIFS function has 2 range/criteria pairs (B2:B12/Female and C2:C12/Canada). MAXIFS and MINIFS functions can handle up to 126 range/criteria pairs.

4. The MAXIFS function below finds the highest score below 60.

MaxIfs Function in Excel, One Range

Note: this MAXIFS function only uses the range D2:D12.