How MAX and MIN work
Syntax
=MAX(range) =MIN(range)range- One or more ranges or numbers, separated by commas.
Example
Order dates are in B2:B500 and you want the first and the most recent order.
=MIN(B2:B500) and =MAX(B2:B500)Dates are numbers underneath, so MIN gives the earliest date and MAX the latest. Format the cells as dates.
Common mistakes
- Numbers stored as text are skipped, so MAX can miss the real top value.
- MIN returning 0 because of empty cells counted as zero in a calculated column. Use MINIFS(B:B, B:B, ">0").
Questions people ask
How do I find the maximum with a condition?
Use MAXIFS: =MAXIFS(D:D, A:A, "North") returns the largest value for North.
How do I find the second largest?
Use LARGE: =LARGE(B2:B100, 2).
Practice it above: type the formula in the formula bar and press Enter to check.