Back Forward Home Print Search
SharePoint Server 2007 Help and How-to >  Business intelligence >  Business data in sites, lists, and libraries >  Formulas and functions >  Statistical
MAX function
MAX function

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).

Examples

Col1Col2Col3col4Col5Formula Description (Result)
1079272=MAX([Col1],[Col2],[Col3],[Col4],[Col5]) Largest of the numbers (27)
1079272=MAX(Col1],[Col2],[Col3],[Col4],[Col5],30) Largest of the numbers and 30 (30)