FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

VAR.S in Google Sheets

VAR.S with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the VAR.S Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Simple variance

A
1Value
22
34
46

Formula: C2: =VAR.S(A2:A4)

Result: 4

Squared deviations total eight and divide by n-1, which is two.

No variation

A
1Value
25
35
45

Formula: C2: =VAR.S(A2:A4)

Result: 0

Equal observations have zero variance.

Square of the standard deviation

A
1Value
22
33
410

Formula: C2: =ROUND(STDEV.S(A2:A4)^2,6)

Result: 19

Squaring STDEV.S gives the same 19 that VAR.S returns.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =VAR.S(C2:C7)

Example spreadsheet for VAR.S
ABCDEF
1RegionProductUnitsPriceResult
2EastPen1202.51426.66666667
3WestPen802.5
4EastBook4512
5NorthBook6012
6WestLamp3025
7EastLamp1525
Result in F2: 1426.66666667

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.