[Table of Contents] [docx version]
SpreadsheetML Reference Material - Table of Contents
MAXA ( argument-list )
Description: Computes the largest of a set of numbers.
Arguments:
Name |
Type |
Description |
argument-list |
logical, number, name, arrays, reference to number. Any argument can be an array or a reference to an array. |
The arguments in argument-list designate the values for which the largest value is to be computed. Logical values and text representations of numbers occurring directly in the list of arguments are included. Logical values and numbers in strings inside references are also included. [Note: To ignore these, use MAX (§3.17.7.203). end note] If an array or reference argument contains non-numeric text or empty cells, those values are ignored; however, cells with the value 0 are included. |
Return Type and Value: number – The largest of a set of numbers; however, if the arguments contain no numbers, zero is returned.
[Example:
MAXA(10.4,-3.5,12.6) results in 12.6
MAXA(10.4,{-3.5,12.6}) results in 12.6
MAXA({"ABC",TRUE}) results in 0
Consider the case in which cell B3 contains 0:
MAX(-10,-12,-15,B3) results in -10
MAXA(-10,-12,-15,B3) results in 0
end example]