Returns the largest value in a set of values.


MAX(number1, [number2], ...)

The MAX function syntax has the following arguments:

  • Number1, number2, ... Number1 is required, subsequent numbers are optional. 1 to 255 numbers for which you want to find the maximum value.


Arguments can either be numbers or names, arrays, or references that contain numbers.

Logical values and text representations of numbers that you type directly into the list of arguments are counted.

If an argument is an array or reference, only numbers in that array or reference are used. Empty cells, logical values, or text in the array or reference are ignored.

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

Arguments that are error values or text that cannot be translated into numbers cause errors.


Set up a table with 1 column and 5 rows with these values:

Set up these fields:

Field 1: 3
Field 2: 7

=MAX([Table]![1][1]:[1][5])Largest of the numbers in the first five rows of Table27
=MAX([Table]![1][1]:[1][5],30)Largest of the numbers in the first five rows of Table and 3030
=MAX(5,[Field 1],[Field 2])Largest of the numbers in Field 1, Field 2, and 57