MIN, MAX, LARGE and SMALL: top and bottom values in Excel
MAX and MIN return the highest and lowest value. LARGE and SMALL return the second, third or nth value. To find who a value belongs to, combine them with a lookup.
How do they work?
Salaries in C2:C20:
| Formula | Returns |
|---|---|
=MAX(C2:C20) | highest |
=LARGE(C2:C20,2) | second highest |
=MIN(C2:C20) | lowest |
=SMALL(C2:C20,3) | third lowest |
How do you find who earns the most?
=XLOOKUP(MAX(C2:C20),C2:C20,A2:A20)
In older Excel: =INDEX(A2:A20,MATCH(MAX(C2:C20),C2:C20,0)). With a tie, both return the first person in the list.
How do you get the maximum with a condition?
MAXIFS and MINIFS work like SUMIFS. Highest sale in the North region:
=MAXIFS(C2:C20,B2:B20,"North")
Common mistakes
Blank cells are ignored, but a 0 counts, so MIN often returns 0 for incomplete data. Numbers stored as text are ignored by all four functions.
Try it yourself. Practise this in a real spreadsheet in your browser, with instant feedback.
Practise MIN and MAX Practise LARGE and SMALL
Practise MIN and MAX Practise LARGE and SMALL
Updated November 2026.