Syntax
| Parameter | Description |
|---|---|
| value1 | Parameter of the MAX function. |
| [value2 | (Optional.) Parameter of the MAX function. |
| ...] | Parameter of the MAX function. |
Examples
Find the highest sale
=MAX(C2:C500)
Find the latest date
=MAX(D2:D100)
Find highest score per criteria
=MAXIFS(C2:C100, A2:A100, "Math")
Common Errors
The range contains no numbers, only text or blanks. MAX returns 0 when there are no numeric values.
You passed a text value directly to MAX. Use MAX on a range (which ignores text) rather than individual text cells.
Tips
Use =LARGE(range, 2) for the second largest, =LARGE(range, 3) for third largest, etc.
Use conditional formatting with the formula =B2=MAX($B$2:$B$100) to highlight the cell containing the maximum value.
MAX works on dates since they are stored as numbers. =MAX(A:A) gives the latest date in column A.
Try MAX in Viztab
Import your data and use MAX with 370+ other formulas. No signup required.
Open Viztab