Export (0) Print
Expand All
ABS
AND
ASC
COS
DAY
DDB
EXP
FV
IF
INT
LEN
LN
LOG
MAX
Me
MID
MIN
MOD
NOT
IS
NPV
ODD
OR
PI
PMT
PV
SIN
SLN
SUM
SYD
T
TAN
VAR
Expand Minimize

MAX

Archived content. No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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.

Remarks

  • You can specify arguments that are numbers, empty arguments, logical values, or text representations of numbers. Arguments that are error values or text that cannot be translated into numbers cause errors.

  • If logical values and text must not be ignored, use MAXA instead.

  • If the arguments contain no numbers, MAX returns 0 (zero).

Example

Col1

Col2

Col3

col4

Col5

Formula

Description (Result)

10

7

9

27

2

=MAX([Col1],[Col2],[Col3],[Col4],[Col5])

Largest of the numbers (27)

10

7

9

27

2

=MAX(Col1],[Col2],[Col3],[Col4],[Col5],30)

Largest of the numbers and 30 (30)

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft