DEVSQ function
the sum of squares of deviations.
Statistical
Where can you use it?
Analytics, quality and research teams. Use this group to examine distributions, variability or relationships in measurements, sales or service durations.
Scenario in the workbook
Sum squared deviations from the mean. Equal observations yield zero.
A worked example from the workbook
| Row | A | B | C |
|---|---|---|---|
| 6 | Period 1 | Period 2 | Period 3 |
| 7 | 2 | 4 | 6 |
| 8 | 3 | 3 | 3 |
| 9 | 0 | 3 | 6 |
Record 1
=DEVSQ(A7:C7)Expected result8
See the inputs and instructions for all 3 examplesCopyable formulas
English Excel · en-US
=DEVSQ(2,4,6)Turkish Excel · tr-TR
=SAPKARE(2;4;6)Expected result
8
Worked examples
Sum squared deviations from the mean. Equal observations yield zero.
Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.
| Row | A | B | C |
|---|---|---|---|
| 6 | Period 1 | Period 2 | Period 3 |
| 7 | 2 | 4 | 6 |
| 8 | 3 | 3 | 3 |
| 9 | 0 | 3 | 6 |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =DEVSQ(A7:C7) |
8 |
| Record 2 | =DEVSQ(A8:C8) |
0 |
| Record 3 | =DEVSQ(A9:C9) |
18 |