Purpose

Return value

Syntax

=VARA(number1,[number2],...)
  • number1 - First number or reference.
  • number2 - [optional] Second number or reference.

Using the VARA function

The VAR function estimates the variance for a sample of data. Variance provides a general idea of the spread of data. Unlike the VAR function, the VARA function evaluates text values and logicals in references. Text is evaluated as zero, TRUE is evaluated as 1, and FALSE is evaluated as zero.

In the example shown, the formula in F5 is:

=VARA(C5:C10)

Note that the VAR function ignores the “NA” text in C8, while VARA includes this in the variance estimate as zero.

Like VAR , VARA also evaluates logical values, and text representations of numbers when they are hardcoded directly into the function as arguments.

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

  • VARA assumes arguments a sample of data, not entire population. If data represents the entire population, use VARPA or VAR.P
  • VARA evaluates text values and logicals in references, unlike VAR.
  • Arguments can either be numbers or names, arrays, or references that contain numbers.
  • Arguments can be hard-coded values instead of references.
  • To ignore logical values and/or text in references, use VAR or VAR.S.

Purpose

Return value

Syntax

=VARP(number1,[number2],...)
  • number1 - First number or reference.
  • number2 - [optional] Second number or reference.

Using the VARP function

The VARP function calculates the variance of an entire population of data. Variance provides a general idea of the spread of data. In the example shown, the formula in F5 is:

=VARP(C5:C10)

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

Note: Microsoft classifies VARP as a " compatibility function “, now replaced by the VAR.P 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

  • VARP assumes data is an entire population. If data represents a sample, use VAR or VAR.S
  • VARP only evaluates numbers in references, ignoring empty cells, text, and logical values like TRUE or FALSE.
  • Arguments can either be numbers or names, arrays, or references that contain numbers.
  • Arguments can be hard-coded values instead of references.
  • To evaluate logical values and/or text in references, use the VARA function.