VAR

The VAR function returns the sample (unbiased) variance—a measure of dispersion—of a set of numeric values.

VAR(num-date, num-date…)

num-date: A number value or date/time value or a collection of these value types. All values must be of the same value type and a minimum of two values are required.

num-date…: Optionally include one or more additional values or collections of values.

Notes

Examples

Suppose you administered five tests to a group of students. You arbitrarily selected five students to represent the total population of students (note that this is an example only; this would not likely be statistically valid). Using the sample data, you could use the VAR function to determine which test had the widest dispersion of test scores. This might be useful in determining lesson plans, identifying potential problem questions, or for other analysis.

You enter the test scores into a blank table, with the scores for each student in the sample in columns A through E and the five students in rows 1 through 5. The table would appear as follows.

 

A

B

C

D

E

1

75

82

90

78

84

2

100

90

95

88

90

3

40

80

78

90

85

4

80

35

95

98

92

5

90

98

75

97

88

=VAR(A1:A5) returns approximately 520, the sample variance of the results of Test 1.

=VAR(B1:B5) returns approximately 602, the sample variance of the results of Test 2.

=VAR(C1:C5) returns approximately 90.3, the sample variance of the results of Test 3.

=VAR(D1:D5) returns approximately 65.2, the sample variance of the results of Test 4.

=VAR(E1:E5) returns approximately 11.2, the sample variance of the results of Test 5.

Test 2 had the highest dispersion (variance is a measure of dispersion), followed closely by Test 1. The other three tests had lower dispersion.

Example—Survey results

To see an example of this and several other statistical functions applied to the results of a survey, see the COUNTIF function.

See also
COUNTIF
STDEV
STDEVA
STDEVP
STDEVPA
VARA
VARP
VARPA