Returns the sum of the squares of a series of numbers and/or cells. Learn more
In Google Sheets, the SUMSQ function is used to calculate the sum of the squares of a set of values. It takes the following syntax:
SUMSQ(value1, [value2, …])
"value1" is the first value or range of cells that you want to include in the calculation. [Optional] You can include additional values or ranges of cells by separating them with commas. Here's an example to illustrate how to use the SUMSQ function:
Suppose you have a set of numbers: 3, 5, and 7. In cell A1, you can use the formula:
=SUMSQ(3, 5, 7)
This formula will calculate the sum of the squares of these numbers, which would be:
3^2 + 5^2 + 7^2 = 9 + 25 + 49 = 83
So the result in cell A1 would be 83.
You can also use cell references instead of directly entering values. For example, if the numbers are in cells A1, A2, and A3, the formula would be:
=SUMSQ(A1, A2, A3)
The SUMSQ function is particularly useful when you need to calculate the sum of the squares of multiple values in a spreadsheet.