# How to Use DEVSQ in Google Sheets

DEVSQ (Sum of Squares of Deviations) is a statistical function in Google Sheets used to calculate the sum of squares of deviations for a dataset. It measures the dispersion of data points from their mean. The higher the DEVSQ, the more dispersed the data points are. This function is useful in various statistical analyses, such as calculating variance or standard deviation.

Here's how to use DEVSQ in Google Sheets:

- Open a Google Sheet with the dataset you want to analyze.
- In an empty cell, type the formula
`=DEVSQ(data_range)`

, where`data_range`

is the range of cells containing your dataset. - Press
`Enter`

to get the result.

For example, let's calculate the sum of squares of deviations for the following dataset:

```
A
1 10
2 12
3 15
4 18
5 20
```

### Example

- Open a Google Sheet and input the dataset as shown above.
- In an empty cell, type
`=DEVSQ(A1:A5)`

. - Press
`Enter`

.

The result, `74`

, is the sum of squares of deviations for the dataset.

In this example, `=DEVSQ(A1:A5)`

calculates the sum of squares of deviations for the values in cells `A1`

to `A5`

.

Did you find this useful?