Excel VAR Function

Summary

The Excel VAR function estimates the variance of a sample of data. If data represents the entire population, use the VARP function or the newer VAR.P function. VAR ignores text values and logicals in references.

Purpose

Get variation of a sample

Return value

Computed variance

Syntax

=VAR (number1, [number2], ...)

Arguments

Usage notes

The VAR function estimates the variance for a sample of data. Variance provides a general idea of the spread of data. In the example shown, the formula in F4 is:

=VAR(C5:C10)

VAR ignores text and logicals passed into as cell references. For example, VAR will ignore FALSE when it appears in a range like A1:A10. However, VAR will evaluate logical values, and text representations of numbers hardcoded directly as arguments.

Note: Microsoft classifies VAR as a "compatibility function", now replaced by the VAR.S function.

Variation functions in Excel

The table below summarizes the variation functions available in Excel.

NameData setText and logicals
VARSampleIgnored
VARPPopulationIgnored
VAR.SSampleIgnored
VAR.PPopulationIgnored
VARASampleEvaluated
VARPAPopulationEvaluated

Notes

Excel VAR Function

Summary

The Excel VAR function estimates the variance of a sample of data. If data represents the entire population, use the VARP function or the newer VAR.P function. VAR ignores text values and logicals in references.

Purpose

Get variation of a sample

Return value

Computed variance

Syntax

=VAR (number1, [number2], ...)

Arguments

Usage notes

The VAR function estimates the variance for a sample of data. Variance provides a general idea of the spread of data. In the example shown, the formula in F4 is:

=VAR(C5:C10)

VAR ignores text and logicals passed into as cell references. For example, VAR will ignore FALSE when it appears in a range like A1:A10. However, VAR will evaluate logical values, and text representations of numbers hardcoded directly as arguments.

Note: Microsoft classifies VAR as a "compatibility function", now replaced by the VAR.S function.

Variation functions in Excel

The table below summarizes the variation functions available in Excel.

NameData setText and logicals
VARSampleIgnored
VARPPopulationIgnored
VAR.SSampleIgnored
VAR.PPopulationIgnored
VARASampleEvaluated
VARPAPopulationEvaluated

Notes