Calculates the sample variance[1] of the values in a data set.
Syntax:
VAR( list )
Returns the sample variance of the values in the list.
list may be a range of cells, an array, or a comma-separated list of values (which may contain cell references and also ranges of cells as one or more of its elements).
Formula:
VAR, s² = ( n⋅i ∑1n (xi2) − (i ∑1n xi)2 ) ∕ (n⋅(n − 1))
where n is the number of values and xi is the i‑th value.
Example:
VAR(A1:A15)
returns the variance of the contents of cells in the range A1:A15
.