Returns the sample variance of the values in a data set.
Syntax:
VAR(list)
Calculates the sample variance of the values in the list, which may be an array, a range of cells, or a comma-separated list of values.
The equation used is:
(n·Σi=n (xi2) − (Σi=n xi)2) ÷ (n·(n-1))
where xi is each value and n is the number of values.
Example:
VAR(A1:A15)
returns the variance of the contents of cells in the range A1
to A15
.