SUMSQ

Returns the sum of the squares of a series of numbers and/or cells. Learn more

Video field
Math

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.

Want even more from Google Sheets?


With Softr, you can turn your spreadsheets into powerful web apps.You can give advanced roles and permissions to each user, build advanced logic and automation flows, customize the design to your needs, and much more.


Softr also offers a growing library of templates for internal tools, client portals, community hubs, and more. The templates come with a Google Sheet or an Airtable base that you can use to store and manage your data easily.


Try Softr now and build your custom web apps in 10 minutes no code required!