maxa
Maximum value, treating text as 0 and TRUE as 1.
Syntax
Section titled “Syntax”v = maxa(number1, number2, ...)Description
Section titled “Description”Like max but counts text values as 0 and logical TRUE as 1 in the comparison. Useful when text in a range should not be silently ignored.
Example
Section titled “Example”maxa(-1, 'text', 2) % 2