MAXA

Microsoft Datasheet View

MAXA

Returns the largest value in a list of arguments. Text and logical values such as TRUE and FALSE are compared as well as numbers.

MAXA is similar to MINA. For more information, see the examples for MINA.

Syntax

MAXA(value1,value2, ...)

Value1, Value2, ...    are 1 to 30 values for which you want to find the largest value.

Remarks

  • You can specify arguments that are numbers, empty arguments, logical values, or text representations of numbers. Arguments that are error values cause errors. If the calculation must not include text or logical values, use MAX instead.
  • Arguments that contain TRUE evaluate as 1; arguments that contain text or FALSE evaluate as 0 (zero).
  • If the arguments contain no values, MAXA returns 0 (zero).

Example

Col1Col2Col3Col4col5Formula Description (Result)
00.20.50.4TRUE=MAXA([Col1],[Col2],[Col3],[Col4],[Col5]) Largest of the numbers. TRUE evaluates to 1 (1)