# NEGBINOMDIST Function

> Calculate the negative binomial probability with NEGBINOMDIST in TX Sheet Control, the older form of NEGBINOM.DIST without the cumulative argument.

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

---

Return the negative binomial probability, the probability of `number_s` failures before the `trials_or_successes`-th success when each trial succeeds with the probability `probability_s`. NEGBINOMDIST takes three arguments and always returns the probability mass function; use [NEGBINOM.DIST](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/negbinom-dist/llms-full.txt) for the cumulative distribution. `number_s` is truncated to an integer, and a negative `number_s` or a probability outside 0 to 1 returns `#NUM!`.

### Syntax

```text
NEGBINOMDIST(number_s, trials_or_successes, probability_s, cumulative)
```

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

Available for supported offline calculation.

### Examples

```text
=NEGBINOMDIST(2,4,0.5)
```

The formula returns 0.15625, the probability of exactly 2 failures before the fourth success with a success probability of 0.5.

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