SUMSQ in Collabora Office: Sum Squares and Measure Squared Magnitudes
Use SUMSQ in Collabora Office Calc for sums of squares, distances, residual checks and root-mean-square calculations.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: SUMSQ squares each numeric input and then adds the squares. =SUMSQ(3;4) is expected to return 25, because 9+16 is 25.
Availability and version history
- Introduced: documented by Collabora Office 26.04; the original introduction release is not established.
- Availability:
SUMSQis documented in the official 26.04 Calc Help. - Scope: desktop Calc documentation; separately deployed Online and mobile versions have not been verified.
- Checked: October 13, 2026, against the official SUMSQ reference. Documentation check; not a native application test. Expected examples are independently calculated.
Syntax and order of operations
=SUMSQ(number1; [number2]; ...)
The official documentation permits numbers, cell references and ranges, with up to 255 argument positions. It states that text and empty cells inside a referenced data range are ignored.
SUMSQ is different from squaring a sum. With 3 and 4, SUMSQ(3;4) is 25, while (3+4)^2 is 49. The second expression contains cross terms that are not part of a sum of squares.
Example 1: inspect every square
Enter these values in A2:A5: -2, 3, 4, 0. In B2 enter =A2^2 and fill down. The expected B2:B5 values are 4, 9, 16 and 0.
=SUMSQ(A2:A5)
Expected result: 29. Check it by adding the four squared helper values. Negative inputs contribute positive squares; zero contributes zero.
Keeping a helper column is useful when auditing a model. It shows which observation dominates the total rather than hiding all contributions in a single result.
Example 2: calculate a geometric magnitude
For perpendicular components 3 and 4:
=SQRT(SUMSQ(3;4))
Expected result: 5. SUMSQ supplies the squared magnitude 25, then SQRT converts it back to the original linear unit.
If components are in metres, SUMSQ alone is measured in square metres, while the final distance is in metres. Do not combine components measured on incompatible scales without an explicit transformation.
Example 3: sum squared residuals
Enter observed values 10, 14 and 17 in D2:D4 and predicted values 11, 13 and 16 in E2:E4. In F2 enter =D2-E2 and fill down.
The expected residuals are -1, 1 and 1. Now calculate:
=SUMSQ(F2:F4)
Expected result: 3. A zero residual would contribute no error; a residual of magnitude two would contribute four. Squaring emphasizes larger deviations, so the result is sensitive to extreme residuals.
This is a descriptive calculation, not a complete statistical model assessment. A smaller squared total is not automatically a better model if the datasets, sample sizes or objectives differ.
Advanced example: root mean square
For the same three residuals:
=SQRT(SUMSQ(F2:F4)/COUNT(F2:F4))
Expected result: 1. The squared total is three, the numeric observation count is three, and the square root of one is one.
This formula computes a root mean square using the count of numeric values. It is not the general formula for every sample standard deviation or regression error estimate. Do not substitute a different denominator without identifying the statistical quantity you intend to calculate.
Example 4: missing values and zeros
Put 2, the text Missing, a blank cell, and -3 in H2:H5. Under the documented referenced-range rule:
=SUMSQ(H2:H5)
Expected result: 13. Only 2 and -3 contribute squares. Replacing the blank with numeric zero still gives 13, but it changes how a numeric-count denominator would behave in an RMS formula.
That is why missing values cannot be treated as zero simply because one intermediate SUMSQ result is unchanged. The surrounding analysis can change even when the squared total does not.
SUMSQ versus variation around the mean
SUMSQ uses the values as supplied; it does not subtract their mean automatically. For inputs 4 and 6, the expected squared total is 52. Their mean is 5, and their centered deviations are -1 and 1, whose squared total is 2.
If you want dispersion around the mean, center the data deliberately or use the statistical function appropriate to that quantity. The phrase “sum of squares” needs its reference point stated clearly.
Troubleshooting and native verification
If the total is unexpectedly large, inspect a helper-square column for an outlier or unit mismatch. If a value seems ignored, check its stored type and range membership. An error in a source formula needs separate diagnosis; the documented text/blank rule does not promise to ignore all errors.
No Collabora native test was run for this article. Future verification should record the application version, enter the exact datasets, and check 29, 25, 3, 1 and 13 in the respective examples.
Official reference
- Collabora Office 26.04: SUMSQ, checked October 13, 2026.
- Editorial standards.