DEVSQ in Collabora Office: Centered Squares, Variance Denominators and Group Effects
Audit Collabora DEVSQ with exact centered squares, distinguish SUMSQ, and show why subgroup totals miss between-group differences.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: DEVSQ totals squared deviations from the data’s arithmetic mean. It returns a centered sum of squares, without dividing by the number of observations or the sample degrees of freedom.
Availability and version history
- Introduced: original Collabora release and launch date are not established by the reviewed sources.
- Availability: currently documented in Collabora Office 26.04 desktop help.
- Platform scope: online and mobile deployments are not inferred from this desktop-help release.
- Checked: October 14, 2026. Function-specific documentation and independent calculations; no native Collabora execution.
Syntax and range handling
=DEVSQ(argument1;[argument2];...)
The current Collabora reference allows up to 255 arguments. It explicitly ignores text and empty cells within referenced data ranges. The examples below use ordinary numeric measurements, English function names and semicolon separators.
For numeric observations, find their mean, subtract it from each observation, square the differences and add. This independently calculated model checks the examples; it does not certify a particular native floating-point algorithm.
Example 1: centered squares versus raw squares
Enter 1, 2 and 6 in A2:A4:
=DEVSQ(A2:A4)
Expected result: 14. The mean is 3:
| Value | Difference from mean | Squared difference |
|---|---|---|
| 1 | -2 | 4 |
| 2 | -1 | 1 |
| 6 | 3 | 9 |
The squares total 14. In contrast, raw squares are 1,4,36 and total 41. SUMSQ addresses that uncentered calculation.
A helper audit can put =AVERAGE(A2:A4) in C1, enter =(A2-$C$1)^2 in B2, fill through B4, and total B2:B4 with SUM.
Example 2: use the correct variance denominator
Using the same three numeric observations:
=DEVSQ(A2:A4)/2
=DEVSQ(A2:A4)/3
Independent expected results are 7 and 4.666667, respectively. The first is the sample-variance model, with denominator n minus one. The second is the population-variance model, with denominator n.
DEVSQ itself remains 14. Decide whether the selected observations form a sample or the entire population relevant to your question before choosing a denominator. VAR.S covers the sample interpretation.
Advanced example: subgroup sums do not always combine
Put 1,3 in D2:D3 and 7,9 in E2:E3. Each group’s mean is its midpoint, and each group’s DEVSQ is 2.
For all four observations together:
=DEVSQ(D2:D3;E2:E3)
Expected result: 40. The combined mean is 5, producing squared distances 16,4,4,16. Simply adding the subgroup results would give 4 and miss the spread between the two centers.
The difference is 36: each two-observation group has its mean three units from the combined mean, contributing 2×3² twice. Keep group sizes and means if you need to reconstruct a combined centered total.
Advanced checks: translation, scale and duplication
For 11,12,16, adding ten to every original value leaves DEVSQ at 14. For -2,-4,-12, multiplying by -2 makes every squared distance four times larger, giving 56.
Repeating the original list as 1,2,6,1,2,6 doubles DEVSQ to 28, while the mean remains 3. Its population variance stays 28/6=14/3; its sample variance becomes 28/5=5.6. A centered total and a normalized variance respond differently to duplicated rows.
Text, empty cells and unresolved cases
Extending the original range with a text label and a genuinely empty cell retains the documented numeric-only DEVSQ result of 14. Replacing that label with numeric zero is a real data change: values 1,2,6,0 have mean 2.25 and expected DEVSQ 20.75.
Direct text arguments, Boolean conversions, formula-empty results, source errors and empty or singleton datasets are not fully resolved by this compact help section. Do not replace a failed calculation with zero and describe it as measured zero dispersion.
References and verification
Complete function-specific documentation reviewed. Worked outputs are independent mathematical or explicitly documented rule controls, not application screenshots or native test results. Unresolved ordering, type and error boundaries retain their stated scope.