Difference between revisions of "Manuals/calci/MAX"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
=MAX(n1,n2,...)=
 
=MAX(n1,n2,...)=
  
*Where <math>n1,n2,...</math> are numbers.
+
*where <math>n1,n2,...</math> are numbers.
  
 
MAX() calculates the largest value in a set of given values.
 
MAX() calculates the largest value in a set of given values.

Revision as of 17:22, 13 December 2013

MAX(n1,n2,...)

  • where are numbers.

MAX() calculates the largest value in a set of given values.

Description

MAX(n1,n2,....)

For Example,

MAX(10,40,5,2,100) returns 100

MAX(-3,0.02,TRUE,-7) returns 1

  • Arguments can be numbers, logical values, text, array or references that contain numbers.
  • Calci displays zero if the arguments do not have any numbers.
  • If the logical values and text values are entered directly in the argument, they are considered in finding the MAX value.
  • If the logical values and text values are entered as a part of array or reference, they are not counted.

Examples

0.02
0.5
-6
TRUE
100
NAME
=MAX(A1:A6)  : Calculates the maximum value in the range A1 to A6. TRUE and NAME are not counted. Displays 100 as a result.
=MAX(200,A3)  : Calculates the maximum value between 200 and -6. Displays 200 as a result.
=MAX(A1:A3, 2)  : Calculates the maximum value in the range A1 to A3 and value 2. Displays 2 as a result.

See Also

References