Difference between revisions of "Documentation/How Tos/Calc: MAXA function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(See also:)
m (Robot: Automated text replacement %s)
Line 20: Line 20:
 
: returns <tt>'''1'''</tt>, the value of <tt>'''TRUE'''</tt>.
 
: returns <tt>'''1'''</tt>, the value of <tt>'''TRUE'''</tt>.
  
=== See also: ===
+
{{Documentation/SeeAlso|
[[Documentation/How_Tos/Calc: MAX function|'''MAX''']],
+
* [[Documentation/How_Tos/Calc: MAX function|MAX]],
[[Documentation/How_Tos/Calc: MIN function|'''MIN''']],
+
* [[Documentation/How_Tos/Calc: MIN function|MIN]],
[[Documentation/How_Tos/Calc: MINA function|'''MINA''']],
+
* [[Documentation/How_Tos/Calc: MINA function|MINA]],
[[Documentation/How_Tos/Calc: DMAX function|'''DMAX''']]
+
* [[Documentation/How_Tos/Calc: DMAX function|DMAX]]
  
[[Documentation/How_Tos/Calc: Statistical functions|'''Statistical functions''']]
+
* [[Documentation/How_Tos/Calc: Statistical functions|Statistical functions]]
  
[[Documentation/How_Tos/Calc: Functions listed alphabetically|'''Functions listed alphabetically''']],
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
[[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}

Revision as of 14:03, 25 February 2009


MAXA

Returns the maximum of a list of arguments, including text and logical entries.

Syntax:

MAXA(value1; value2; ... value30)

value1 to value30 are up to 30 values or ranges, which may include numbers, text and logical values. Text is evaluated as 0. Logical values are evaluated as 1 (TRUE) and 0 (FALSE).

Example:

MAXA(2; 6; 4)

returns 6, the largest value in the list.

MAXA(B1:B3)

where cells B1, B2, B3 contain -1, -2, and apple returns 0, the value of the text.

MAXA(0; TRUE)

returns 1, the value of TRUE.

Template:Documentation/SeeAlso

Personal tools