Difference between revisions of "Manuals/calci/MAX"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''MAX'''('''n1''',n2,...) Where n1,n2……are numbers. </div> ---- <div id="1SpaceContent" class="zcontent"...")
 
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''MAX()'''</div><br/>
 +
*Parameters are any set of numbers.
 +
**MAX(), returns the maximum value in a list of arguments.
  
'''MAX'''('''n1''',n2,...)
+
== Description ==
  
Where n1,n2……are numbers.
+
MAX()
 +
*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.
  
</div>
+
==ZOS==
----
+
*The syntax is to calculate the maximum value in the set of numbers in ZOS is <math>MAX()</math>.
<div id="1SpaceContent" class="zcontent" align="left">
+
**Parameters are any set of numbers.
 +
*For e.g.,MAX(2..8,10..15)
  
It calculates the largest value in a set of values.
+
== Examples ==
  
</div>
+
<div id="2SpaceContent" class="zcontent" align="left"><div>
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
  
·          MAX function displays zero, when  the arguments contain no numbers.
+
{| id="TABLE1" class="SpreadSheet blue"
 +
|- class="even"
 +
| class="sshl_f" | 0.02
 +
| class="sshl_f" |
  
</div>
+
|- class="odd"
----
+
| class="sshl_f" | 0.5
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">MAX </div></div>
+
| class="sshl_f" |
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
  
{| width="51" cellpadding="1"
+
|- class="even"
| valign="bottom" | '''<font size="2" face="Tahoma"> <center><font size="3">Data</font></center> </font>'''
+
| class="sshl_f" | -6
|-
+
| class="sshl_f" |
| <font size="3" face="Tahoma">
 
  
<font size="3">15</font>
+
|- class="odd"
 +
| class="sshl_f" | TRUE
 +
| class="sshl_f" |
  
</font>
+
|- class="even"
|-
+
| class="sshl_f" | 100
| <font size="3" face="Tahoma">
+
| class="sshl_f" |
  
<font size="3">20</font>
+
|- class="odd"
 +
| class="sshl_f" | NAME
 +
| class="sshl_f" |
  
</font>
+
|}
|-
 
| <font size="3" face="Tahoma">
 
 
 
<font size="3">3</font>
 
 
 
</font>
 
|-
 
| <font size="3" face="Tahoma">
 
 
 
<font size="3">32</font>
 
  
</font>
+
=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.
| <font size="3" face="Tahoma">
+
=MAX(A1:A3, 2)  : Calculates the maximum value in the range A1 to A3 and value 2. Displays ''2'' as a result.
  
<font size="3">13</font>
+
==Related Videos==
  
</font>
+
{{#ev:youtube|Ixj2CXw-Xcc|280|center|MAX}}
|}
 
  
<font size="3" color="#7f7f7f">
+
== See Also ==
  
</font><font size="2" face="Times New Roman">
+
*[[Manuals/calci/MAXA| MAXA]]
  
<font size="3">Let’s see an example in (Column1 Row 1:Column1Row6)</font>
+
==References==
  
<font size="3">MAX (n1, n2….)</font>
+
*[http://en.wikipedia.org/wiki/Large_numbers Large Number]
 +
*[http://en.wikipedia.org/wiki/Small_number Small Number]
  
<font size="3">i.e.MAX (C1R1: C1R6) is 32</font>
 
  
</font></div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
<div id="2SpaceContent" class="zcontent" align="left"><div>
 
  
{| id="TABLE1" class="SpreadSheet blue"
+
*[[Z_API_Functions | List of Main Z Functions]]
|- class="even"
 
| class=" " |
 
| Column1
 
| class="            " | Column2
 
| class="    " | Column3
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f " | 15
 
| class="sshl_f" | 32
 
| class="sshl_f" |
 
|- class="even"
 
| class="  " | Row2
 
| class="sshl_f" | 20
 
| class="SelectTD" |
 
| class="sshl_f" |
 
|- class="odd"
 
| Row3
 
| class="sshl_f" | 3
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="even"
 
| Row4
 
| class="sshl_f" | 32
 
| class="sshl_f" |
 
|
 
|- class="odd"
 
| class="sshl_f" | Row5
 
| class="sshl_f " | 13
 
| class="  " |
 
|
 
|- class="even"
 
| class=" " | Row6
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|
 
|}
 
  
<div align="left"></div>''''''</div></div>
+
*[[ Z3 |  Z3 home ]]
----
 

Latest revision as of 17:27, 7 August 2018

MAX()


  • Parameters are any set of numbers.
    • MAX(), returns the maximum value in a list of arguments.

Description

MAX()

  • 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.

ZOS

  • The syntax is to calculate the maximum value in the set of numbers in ZOS is .
    • Parameters are any set of numbers.
  • For e.g.,MAX(2..8,10..15)

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.

Related Videos

MAX

See Also

References