
The Excel VARP function calculates the variance of an entire population of data. If data represents a sample, use the VAR function or the newer VAR.S function. VARP ignores text values and logicals in references.
Get variation of a population
Computed variance
=VARP (number1, [number2], ...)
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.
The table below summarizes the variation functions available in Excel.
| Name | Data set | Text and logicals |
|---|---|---|
| VAR | Sample | Ignored |
| VARP | Population | Ignored |
| VAR.S | Sample | Ignored |
| VAR.P | Population | Ignored |
| VARA | Sample | Evaluated |
| VARPA | Population | Evaluated |

The Excel VARP function calculates the variance of an entire population of data. If data represents a sample, use the VAR function or the newer VAR.S function. VARP ignores text values and logicals in references.
Get variation of a population
Computed variance
=VARP (number1, [number2], ...)
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.
The table below summarizes the variation functions available in Excel.
| Name | Data set | Text and logicals |
|---|---|---|
| VAR | Sample | Ignored |
| VARP | Population | Ignored |
| VAR.S | Sample | Ignored |
| VAR.P | Population | Ignored |
| VARA | Sample | Evaluated |
| VARPA | Population | Evaluated |