# VARPA Function

> Calculate the variance of an entire population including text and logical values with VARPA in TX Sheet Control: how cells are counted and an example formula.

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

---

Return the variance of an entire population, including text and logical values. In referenced cells, text counts as 0, TRUE as 1 and FALSE as 0; empty cells are ignored. To ignore text and logical values in cells, use [VAR.P](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/var-p/llms-full.txt).

### Syntax

```text
VARPA(number1, number2)
```

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

Available for supported offline calculation.

### Examples

```text
=VARPA(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:** [VARP Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/varp/llms-full.txt)
- **Next:** [VAR.S Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/var-s/llms-full.txt)
