MAX (maximum)

<< Click to Display Table of Contents >>

MAX (maximum)

Syntax:

MAX(Number1 [, Number2, Number3 ...])

Description:

Returns the largest value in the given numbers.

Number1, Number2, etc. are single values, cell ranges, or arrays containing the values to be evaluated.

If this function refers to empty cells, these are ignored. Also cells that contain text strings or logical values, but these can be entered directly into the list of arguments and thus be taken into account.

Example:

MAX(5, 7, 4, 9) returns 9

If the cells A1:A3 contain -1, -2 and TRUE:

MAX(A1:A3) returns -1 (the logical value TRUE is ignored)

MAX(A1:A3, TRUE) returns 1 (the entered value TRUE is evaluated as 1)

MAX(A1:A3, FALSE) returns 0 (the entered value FALSE is evaluated as 0)

See also:

MAXA, MIN, LARGE