Difference between revisions of "Documentation/How Tos/Calc: SUMSQ function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
OOoWikiBot (Talk | contribs) m (Bot: Adding Category: Documentation) |
||
Line 24: | Line 24: | ||
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation]] |
Revision as of 12:34, 20 November 2009
SUMSQ
Returns the sum of the squares of the arguments.
Syntax:
SUMSQ(number1; number2; .... number30)
- number1 to number30 are up to 30 numbers or ranges of numbers which are squared and then summed.
Example:
SUMSQ(2; 3; 4)
- returns 29, which is 2*2 + 3*3 + 4*4.
SUMSQ(A1:A2)
- where A1 contains 1 and A2 contains 2 returns 5, which is 1*1 + 2*2.