Maximum function
MAX compares the values within parentheses and returns the largest value. Enter a separator (shown as a comma below) after each value.
Syntax
MAX (value1, value2, value3, . . .)
Examples
MAX (15, 634, 342) = 634
MAX (length 1 * width 1, length 2 * width 2)