Max
Max
is a mathematical function that returns the maximum value in a group of numeric values, rows, columns, or cells.
Syntax:
Max(arguments)
where arguments
is one or more of the following values:
Argument | Description |
---|---|
numeric |
A numeric value. For example, Numeric values can include decimals and negative values. See Numeric Arguments. |
row, column, or cell reference |
A pointer to a row, column, or cell within a grid. You can specify references in several ways. The reference syntax is: |
function |
An embedded function. |
Examples:
Return the maximum value in rows 1, 6, and 8:
Max(row[1], row[6], row[8])
Calculate the maximum of the sums of aggregate rows:
Max(row[1].sum, row[2].sum, row[3].sum)