MAX Function
Return the largest number. The arguments are numbers, cell references, ranges or arrays. In references, text, logical values and empty cells are ignored, and a reference without numbers returns 0. Logical values typed directly as arguments count as 1 and 0, and text typed directly that is not a number returns #VALUE!.
Syntax
MAX(number1, number2)
Category: Statistics. Minimum arguments: 1. Maximum arguments: 255.
Available for supported offline calculation.
Examples
=MAX(10,20,30)
The formula returns 30.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.