# HYPGEOMDIST Function

> Return the probability of successes in a sample without replacement with HYPGEOMDIST, the older form of HYPGEOM.DIST in TX Sheet Control, and its errors.

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

---

Return the probability of a number of successes in a sample drawn without replacement. HYPGEOMDIST is the older form of [HYPGEOM.DIST](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/hypgeom-dist/llms-full.txt) without the `cumulative` argument. `sample_s` is the number of successes in the sample, truncated to an integer, `number_sample` the size of the sample, `population_s` the number of successes in the population and `number_pop` the size of the population. A negative `sample_s`, more successes than the sample size, or a sample larger than the population returns `#NUM!`.

### Syntax

```text
HYPGEOMDIST(sample_s, number_sample, population_s, number_pop, cumulative)
```

Category: Statistics. Minimum arguments: 4. Maximum arguments: 4.

Available for supported offline calculation.

### Examples

```text
=HYPGEOMDIST(1,2,3,5)
```

The formula returns 0.6, the probability of exactly 1 success when 2 items are drawn from 5 that include 3 successes.

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