Documentation/How Tos/Calc: SUM function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 21:12, 27 March 2008 by Flepennu (Talk | contribs)

Jump to: navigation, search


Sums the contents of cells.


SUM(number1; number2; ... number30)

number1 to number30 are up to 30 numbers or ranges of numbers whose sum is to be calculated.

SUM can also be used to sum cells where a specified condition is true - see Conditional Counting and Summation.


SUM(2; 3; 4)

returns 9, because 2+3+4 = 9.


(where cells B1, B2, B3 contain 1.1, 2.2, 3.3) returns 6.6.

See also:

SUBTOTAL function, DSUM function, SUMIF function, SUMSQ function, SUMPRODUCT function

Mathematical functions

Conditional Counting and Summation

Personal tools
In other languages