# TDIST Function

> Return the one-tailed or two-tailed Student's t-distribution with TDIST in TX Sheet Control: x, degrees of freedom, tails, #NUM! errors and an example.

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

---

Return the right-tailed or two-tailed Student's t-distribution. TDIST is the earlier form of `T.DIST.RT` and `T.DIST.2T`: `x` is the value, which must not be negative, `deg_freedom` the number of degrees of freedom and `cumulative_or_tails` the number of tails, 1 or 2. A negative `x`, another number of tails, or no third argument returns `#NUM!`.

### Syntax

```text
TDIST(x, deg_freedom, cumulative_or_tails)
```

Category: Statistics. Minimum arguments: 2. Maximum arguments: 3.

Available for supported offline calculation.

### Examples

```text
=TDIST(0,10,TRUE)
```

The formula returns 0.5, the one-tailed probability at 0; TRUE counts as one tail.

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:** [T.DIST Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/t-dist/llms-full.txt)
- **Next:** [T.DIST.2T Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/t-dist-2t/llms-full.txt)
