Skip to main content
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
Show menu Show menu

SUMSQ function


Sum of squares function. SUMSQ(range) computes the sum of the squares of the values of the spreadsheet cells in the specified range.

The argument range can be a list of numbers, cell addresses, cell ranges (such as A1:A10).

Range can also be a matrix. In that case the function returns a matrix with one row and the same number of columns, with each element the SUMSQ of the corresponding column. If range is a row matrix, it is converted to a column matrix first.

The formula for SUMSQ is:

$$ \sum{}{}{x_i^2}$$


SUMSQ(A1:D8) calculates the sum of the squares of the values of cells A1 to A8.



Related functions