# COMBIN Function

> Calculate the number of combinations without repetitions with the COMBIN formula function of TX Sheet Control: arguments, truncation and #NUM! errors.

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

---

Return the number of combinations of a given number of items, without repetitions. `number` is the number of items and `number_chosen` the number of items in each combination; the order of the items doesn't matter, and fractions are truncated to integers. A negative argument or a `number_chosen` greater than `number` returns `#NUM!`.

### Syntax

```text
COMBIN(number, number_chosen)
```

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

Available for supported offline calculation.

### Examples

```text
=COMBIN(5,2)
```

The formula returns 10, the number of ways to choose 2 of 5 items.

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:** [COLUMNS Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/columns/llms-full.txt)
- **Next:** [COMBINA Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/combina/llms-full.txt)
