# PERMUTATIONA Function

> Count the ordered selections of objects with repetition using PERMUTATIONA in TX Sheet Control: number to the power of number_chosen and the #NUM! error.

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

---

Return the number of permutations of `number_chosen` objects selected from `number` objects, where the order counts and objects can be repeated. The result is `number` raised to the power of `number_chosen`, after both are truncated to integers, so `number_chosen` may be greater than `number`. A negative argument returns `#NUM!`.

### Syntax

```text
PERMUTATIONA(number, number_chosen)
```

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

Available for supported offline calculation.

### Examples

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

The formula returns 25, the number of ordered pairs of 5 objects with repetition (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:** [PERMUT Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/permut/llms-full.txt)
- **Next:** [PHI Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/phi/llms-full.txt)
