VARA

The VARA function returns the sample (unbiased) variance—a measure of dispersion—of a collection of any values.

VARA(value, value…)

value: Any value. value can contain a single value or collection. All values must be of the same value type (except that string values and boolean values can be included with number values). A minimum of two values are required. A string value can be included in a referenced cell, but can’t be directly entered as an argument to the function.

value…: Optionally include one or more additional values or collections of values.

Notes

Example

Suppose you installed a temperature sensor in Cupertino, California. The sensor records each day’s high and low temperatures. The data from the first few days of July is shown in the following table and is used as a sample for the population of high and low temperatures (note that this is an example only; this would not be statistically valid). On July 5, the sensor failed, so the data in the table shows n/a, or not available.

A

B

C

1

Date

High

Low

2

07/01/10

58

58

3

07/02/10

84

61

4

07/03/10

82

59

5

07/04/10

78

55

6

07/05/10

n/a

n/a

7

07/06/10

81

57

8

07/07/10

93

67

=VARA(B2:B8) returns approximately 1011.66666666667, the dispersion (variance is a measure of dispersion) as measured by VARA, of the sample of daily high temperatures.

If you had a large data set that could not easily be visually scanned, or you wished to automate checking for missing values, you could compare the results of =VAR(B2:B8), which returns approximately 135.066666666667, and VARA, which returns approximately 1011.66666666667. If (as in this case) they are not equal, it would indicate the data set contains text (such as “n/a”), or one or more boolean values (TRUE or FALSE).

See also
STDEV
STDEVA
STDEVP
STDEVPA
VAR
VARP
VARPA