Difference between revisions of "Manuals/calci/MEDIAN"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''MEDIAN'''('''n1''',n2,...) where n1,n2… are numbers. </div> ---- <div id="1SpaceContent" class="zcontent" a...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
=MEDIAN(n1,n2,...)=
  
'''MEDIAN'''('''n1''',n2,...) where n1,n2… are numbers.
+
*Where n1,n2… are numerical values.
  
</div>
+
MEDIAN() calculates the middle value in the set of given values.
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
  
It calculates the median of the given numbers.
+
== Description ==
  
</div>
+
MEDIAN(n1,n2,...)
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
  
·          For even numbers in the set,MEDIAN calculates the average of the two numbers in the middle.
+
For Example,
  
''' '''
+
MEDIAN(10,30,50,70,90) ''returns 50''.
  
</div>
+
MEDIAN(2,4,6,8) ''returns 5''.
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
  
MEDIAN
+
MEDIAN("TEST","TEN","TAKE","TELL","TRAIN") ''returns TAKE''.
  
</div></div>
+
*Arguments can be numbers or arrays, names or references that contain numbers.
----
+
*For a set of even numbers, MEDIAN calculates the average of the two numbers that are in the middle.
<div id="8SpaceContent" class="zcontent" align="left">
+
*If the logical values and text representations are entered as a part of argument, they are counted.
 +
*If the logical values and text representations are entered as a part of an array or reference, they are not counted.
 +
*The cells with zero value are counted.
  
<font size="3"><font face="Times New Roman">Let’s see an example in (Column1 Row 1:Column1Row6)</font></font>
+
== Examples ==
  
<font size="3">MEDIAN (v1, v2,….)</font>
 
 
<font size="3">i.e. =MEDIAN (C1R1:C1R6) is 35 (for even set)</font>
 
 
<font size="3"><nowiki>=MEDIAN (C1R1:C1R5) is 30(for odd set)</nowiki></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>
 
<div id="2SpaceContent" class="zcontent" align="left"><div>
  
 
{| id="TABLE3" class="SpreadSheet blue"
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
|- class="even"
| class=" " |
+
| class="ssh1_f" | 45
| Column1
+
| class="sshl_f" | 2
| class="      " | Column2
+
| class="sshl_f" |
| class="    " | Column3
 
| class=" " |
 
| class=" " | Column4
 
 
|
 
|
 
|- class="odd"
 
|- class="odd"
| class=" " | Row1
+
| class="sshl_f" | -20
| class=" " | 10
+
| class="sshl_f" | 4
| class="sshl_f" | 35
 
| class="sshl_f" |
 
| class="sshl_f" |
 
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|
 
|
 
|- class="even"
 
|- class="even"
| class="  " | Row2
+
| class="sshl_f" | -30
| class="sshl_f" | 20
+
| class="sshl_f" | TRUE
| class="sshl_f" | 30
 
| class="sshl_f" |
 
| class="sshl_f" |
 
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|
 
|
 
|- class="odd"
 
|- class="odd"
| Row3
+
| class="sshl_f" | 4
| class="sshl_f" | 30
+
| class="sshl_f" | 0.5
| class="sshl_f SelectTD SelectTD" |
 
<div id="2Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
| class="sshl_f" |
 
| class="  " |
 
| class="sshl_f" |
 
|
 
|- class="even"
 
| Row4
 
| class="sshl_f" | 40
 
 
| class="sshl_f" |
 
| class="sshl_f" |
|
 
| class=" " |
 
| class="sshl_f" |
 
|
 
|- class="odd"
 
| class="sshl_f" | Row5
 
| class=" " | 50
 
| class="  " |
 
|
 
|
 
| class="  " |
 
 
|
 
|
 
|- class="even"
 
|- class="even"
| class=" " | Row6
+
| class="sshl_f" | 5
| class="  " | 60
 
 
| class="sshl_f" |
 
| class="sshl_f" |
|
 
 
| class="sshl_f" |
 
| class="sshl_f" |
|
 
 
|
 
|
 
|}
 
|}
  
<div align="left"></div>''''''</div></div>
+
=MEDIAN(A1:A5)
----
+
=MEDIAN(A1:A5)
 +
=MEDIAN(A1:A5)

Revision as of 06:48, 7 December 2013

MEDIAN(n1,n2,...)

  • Where n1,n2… are numerical values.

MEDIAN() calculates the middle value in the set of given values.

Description

MEDIAN(n1,n2,...)

For Example,

MEDIAN(10,30,50,70,90) returns 50.

MEDIAN(2,4,6,8) returns 5.

MEDIAN("TEST","TEN","TAKE","TELL","TRAIN") returns TAKE.

  • Arguments can be numbers or arrays, names or references that contain numbers.
  • For a set of even numbers, MEDIAN calculates the average of the two numbers that are in the middle.
  • If the logical values and text representations are entered as a part of argument, they are counted.
  • If the logical values and text representations are entered as a part of an array or reference, they are not counted.
  • The cells with zero value are counted.

Examples

45 2
-20 4
-30 TRUE
4 0.5
5
=MEDIAN(A1:A5)
=MEDIAN(A1:A5)
=MEDIAN(A1:A5)