MAX

Returns the largest value in a set of values.

Syntax

MAX(number1, number2, …)

  • number1, number2,…     are 1 to 30 numbers for which you want to find the maximum value.

Specifics

  • Arguments can either be numbers, arrays, or cell references that contain numbers.
  • If the arguments contain no numbers, MAX returns 0 (zero).

Examples

ABCDEFormulaDescription (Result)
1079272=MAX(A2:E2)Largest of the numbers (27)
     =MAX(A2,B2,C2,D2,E2,30)Largest of the numbers and 30 (30)