# VAR.S Function

> Estimate the variance of a population from a sample with VAR.S in TX Sheet Control: the n-1 divisor, ignored text and logical values, #DIV/0! and an example.

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

---

Estimate the variance of a population from a sample. The sum of squared deviations is divided by the number of values minus 1. Text and logical values in referenced cells are ignored. Fewer than two numbers return `#DIV/0!`. For an entire population, use [VAR.P](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/var-p/llms-full.txt).

### Syntax

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

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

Available for supported offline calculation.

### Examples

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

The formula returns 1.

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:** [VARPA Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/varpa/llms-full.txt)
- **Next:** [VDB Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/vdb/llms-full.txt)
