Difference between revisions of "Manuals/calci/SUM"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
<div style="font-size:30px">'''SUM(n1,n2,n3...)'''</div><br/>
  
The operation of adding a sequence of numbers; the result is their sum or total
+
*where <math>n1,n2,n3...</math> are  the arguments for which to find the total.
  
Sum(number1, [number2], [number3], [number4], ...)
+
==Description==
 +
*This function gives the total sum value of given arguments.
 +
*The arguments can be <math>+ve</math> or <math>-ve</math>.
 +
*We can give any cell references like column or row number, logical values like true or false, an array, or a result from any other functions in Arguments.
 +
*We must give atleast one argument. i.e <math>n1</math> is required, and from <math>n2,n3...</math>it is optional.
 +
*The arguments can be up to any number.
 +
*If the  arguments is an array or reference, only the constants are considered.
 +
*The arguments are ignored, if
 +
# It is empty cells
 +
# It is logical values
 +
# It is text.
 +
*This function shows error value when the arguments cannot be changed to numbers.
  
Will calculate total value of  parameters n1, n2 etc
+
==Examples==
 
 
Add all the numbers in a range of cells.
 
 
 
 
 
</div></div>
 
----
 
<div id="6SpaceContent" class="zcontent" align="left">
 
  
 
{| id="TABLE3" class="SpreadSheet blue"
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
|- class="even"
| class="  " |
+
!Equation
<div id="6Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
+
| n1
| Column1
+
| n2
| class="  " | Column2
+
| n3
| class="  " | Column3
+
| SUM
| class="  " | Column4
 
 
|- class="odd"
 
|- class="odd"
| class=" " | Row1
+
|SUM(1,2,3)
| class=" " | 2
+
| 1
| class="sshl_f" | 3
+
| 2
| class="sshl_f" |
+
| 3
| class="sshl_f" |
+
| 6
 
|- class="even"
 
|- class="even"
| class="  " | Row2
+
| SUM(5,-9,45)
| class="sshl_f " | 8
+
| 5
| class="sshl_f" | 7
+
| -9
| class="sshl_f" |
+
| 45
| class="sshl_f" |
+
| 41
 
|- class="odd"
 
|- class="odd"
| Row3
+
| SUM(A1:A3)
| class="sshl_f" |
+
| CELL A1                       
| class="sshl_f SelectTD SelectTD" |
+
| CELL A2
| class="sshl_f" |
+
| CELL A3
| class="sshl_f" |
+
| A1+A2+A3
 
|- class="even"
 
|- class="even"
| Row4
+
 
| class="sshl_f" |
+
|}
| class="sshl_f" |
+
 
| class="sshl_f" |
+
==See also==
| class="sshl_f" |
+
 
|- class="odd"
+
*[[Manuals/calci/AVERAGE| AVERAGE]]
| class=" " | Row5
+
*[[Manuals/calci/PRODUCT| PRODUCT]]
| class="sshl_f" |
+
 
| class="sshl_f" |
+
==References==
| class="sshl_f" |
+
[http://en.wikipedia.org/wiki/Summation SUM]
| class="sshl_f" |
 
|- class="even"
 
| Row6
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 

Revision as of 06:19, 22 November 2013

SUM(n1,n2,n3...)


  • where are the arguments for which to find the total.

Description

  • This function gives the total sum value of given arguments.
  • The arguments can be or .
  • We can give any cell references like column or row number, logical values like true or false, an array, or a result from any other functions in Arguments.
  • We must give atleast one argument. i.e is required, and from it is optional.
  • The arguments can be up to any number.
  • If the arguments is an array or reference, only the constants are considered.
  • The arguments are ignored, if
  1. It is empty cells
  2. It is logical values
  3. It is text.
  • This function shows error value when the arguments cannot be changed to numbers.

Examples

Equation n1 n2 n3 SUM
SUM(1,2,3) 1 2 3 6
SUM(5,-9,45) 5 -9 45 41
SUM(A1:A3) CELL A1 CELL A2 CELL A3 A1+A2+A3

See also

References

SUM