Function · Statistical

Excel MAX function

The Excel MAX function returns the largest number in a set and ignores text. The high bill among four utility months is $143.60.

All current Excel versions. Also in Excel for the web and Google Sheets.

Syntax =MAX(number1, [number2], ...)

MAX
=MAX(B2:B5)

Arguments

NameRequiredWhat to pass
number1RequiredThe first number or range.
number2OptionalMore numbers or ranges. Text and blanks are ignored. Zero is a real value.

Examples

Highest of four utility bills

=MAX(B2:B5)

Result $143.60

=MAX(B2:B5)B6
Utilities
AB
1MonthBill
2Jan143.60
3Feb96.20
4Mar118.45
5Apr88.10
6Highest143.60
A picture of the sheet, not a live calculator. January is the high month. MIN of this list is $88.10.

MAX returns the largest number. On the four utility bills, January’s $143.60 is the high. April’s $88.10 is the low, from MIN. Text and blanks are ignored. Unlike MIN, a range with no numbers at all returns 0, which is easy to publish as if it were a real peak.

A text bill does not raise the maximum and does not warn you. COUNT the range if the high bill looks too small. Negative credits in the same column do not win a MAX unless they are the only numbers. Keep charges and refunds in separate columns if the question is the largest charge.