# VAR.P Function

> Calculate the variance of an entire population with the VAR.P formula function of TX Sheet Control: what counts, the difference from VAR.S and an example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > VAR.P Function
- **191 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/var-p/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/var-p/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/var-p/llms-full.txt

---

Return the variance of an entire population. The arguments are the whole population, not a sample, so the sum of squared deviations is divided by the number of values. Text and logical values in referenced cells are ignored. For a sample, use [VAR.S](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/var-s/llms-full.txt).

### Syntax

```text
VAR.P(number1, number2)
```

Category: Statistics. Minimum arguments: 1. Maximum arguments: 255.

Available for supported offline calculation.

### Examples

```text
=VAR.P(1,2,3)
```

The formula returns 0.6666666667.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [VARA Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/vara/llms-full.txt)
- **Next:** [VARP Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/varp/llms-full.txt)
