Excel SUMSQ Function
The SUMSQ function returns the sum of squares of supplied values.
Syntax
=SUMSQ(number1, [number2], ...)
Arguments
- number1 (required): The first value to get the summed squares of.
- [number2], … (optional): The second and up to 253 more values to get the summed squares of.
Return Value
The SUMSQ function returns a numeric value.
Function Notes
- If there are any error values in any of the arguments, SUMSQ will return the first error value.
- SUMSQ treats blank cells as 0s.
- If a text value that cannot be interpreted as a numeric value is referenced by the SUMSQ function, SUMSQ will treat it as 0; If the text value is supplied directly to the SUMSQ (e.g., =SUMSQ(“kutools”)), the function will return the #VALUE! error.
- If a logical value is referenced by the SUMSQ function, SUMSQ will treat it as 0; If the logical value is supplied directly to the SUMSQ, the function will treat is as a number (TRUE=1, FALSE=0).
Example
Supposing you have a table with numbers as shown below, to get the sum of squares of the numbers on the table’s first row, please copy or enter the formula below in cell F3, and press Enter to get the result:
=SUMSQ(5,2,1)
√ Note: In the formula above, we used the actual values. However, in the case that you have a table as shown below, cell references are better choices than the actual values. Since you can just drag the fill handle down to apply the formula to the below cells after entering the formula with cell references in the top cell. The formula with cell references is as followed:
=SUMSQ(B3:D3)
Related functions
The SUM function adds all values you specified. The values can be numbers, cell references, ranges, arrays or a mix of all four.
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...
Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.