# Excel VAR.P Function

The Excel VAR.P function returns the variance in an entire population. If data represents a sample of the population, use the VAR.S function.

**number1**- First number or reference.**number2**- [optional] Second number or reference.

The VAR.P function calculates variance for data that represents an entire population. Variance measures how far a data set is spread out, giving you a general idea of the spread of your data. The VAR.P function can accept up to 254 arguments.

### Variation functions in Excel

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 |

### Notes

- VAR.P assumes data represents the entire population. If data represents a sample, compute variance with VAR.S.
- VAR.P 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, use the VARPA function.

## Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.