Excel functions / Maths & statistics

MAXIFS & MINIFS

Return the largest or smallest value that meets one or more conditions.

Syntax=MAXIFS(max_range, criteria_range1, criteria1, ...)

Arguments

max_rangeThe values to pick the largest (or smallest) from.
criteria_range, criteriaPairs of a range and its condition.

How it works

MAXIFS answers questions like "what was the biggest sale in the West?" It works like SUMIFS: the values come first, then pairs of ranges and conditions. MINIFS works the same way for the smallest.

Example

E2=MAXIFS(C2:C5,A2:A5,"West")
ABCDE
1RegionRepSales
2EastAna500700
3WestBen300
4EastCal250
5WestDee700
6

Result: 700. The West sales are 300 and 700.

Tips

Practise MAXIFS & MINIFS

Try it yourself in a real spreadsheet, with instant feedback on every answer.

Start the exercise

Related