SUMSQ
The SUMSQ function returns the sum of the squares of the arguments.
Syntax
=SUMSQ(number1, [number2], ...)
Parameters
number1
: The first number to square and addnumber2
, ...: Optional. Additional numbers to square and add
Examples
=SUMSQ(3, 4) // Returns 25 (3² + 4²)
=SUMSQ(2, 3, 4) // Returns 29 (2² + 3² + 4²)
=SUMSQ(-2, 3) // Returns 13 ((-2)² + 3²)