FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

SUMSQ in Google Sheets

SUMSQ with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the SUMSQ Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Square and total

A
1Value
23
34

Formula: C2: =SUMSQ(A2:A3)

Result: 25

The result is 3² + 4² = 25.

Separate arguments

AB
1AB
225

Formula: D2: =SUMSQ(A2,B2)

Result: 29

The function returns 4 + 25.

Distance length

AB
1xy
268

Formula: D2: =SQRT(SUMSQ(A2:B2))

Result: 10

SUMSQ supplies the squared total before SQRT finds the length.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =SUMSQ(C2:C4)

Example spreadsheet for SUMSQ
ABCDEF
1RegionProductUnitsPriceResult
2EastPen1202.522825
3WestPen802.5
4EastBook4512
5NorthBook6012
6WestLamp3025
7EastLamp1525
Result in F2: 22825

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.