Syntax
| Parameter | Description |
|---|---|
| value1 | Parameter of the DEVSQ function. |
| [value2 | (Optional.) Parameter of the DEVSQ function. |
| ...] | Parameter of the DEVSQ function. |
Examples
Sum of squared deviations
=DEVSQ(B2:B50)
Manual variance check
=DEVSQ(A1:A100) / (COUNT(A1:A100) - 1)
Total variation
=DEVSQ(C2:C1000)
Common Errors
No numeric values in the arguments (internally divides by count to compute mean).
Non-numeric direct arguments.
Tips
DEVSQ / (n-1) = VAR.S and DEVSQ / n = VAR.P. DEVSQ gives you the raw numerator before dividing.
In linear regression, Total SS = DEVSQ(Y). Regression SS + Residual SS = Total SS. R-squared = Regression SS / Total SS.
Because deviations are squared, DEVSQ is heavily influenced by extreme values. A single outlier can dominate the sum.
Try DEVSQ in Viztab
Import your data and use DEVSQ with 370+ other formulas. No signup required.
Open Viztab