# T.DIST.2T Function

> Return the two-tailed Student's t-distribution with T.DIST.2T in TX Sheet Control: non-negative x, degrees of freedom, #NUM! errors and an example.

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

---

Return the two-tailed Student's t-distribution. `x` is the value, which must not be negative, and `deg_freedom` the number of degrees of freedom, at least 1. The result is the probability that a t-distributed value lies further from 0 than `x` on either side. A negative `x` or degrees of freedom less than 1 return `#NUM!`. T.DIST.2T takes two arguments; a third argument returns `#VALUE!`.

### Syntax

```text
T.DIST.2T(x, deg_freedom, cumulative_or_tails)
```

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

Available for supported offline calculation.

### Examples

```text
=T.DIST.2T(1,10)
```

The formula returns 0.3408931323.

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