# MODE.SNGL Function

> Return the single most frequent number of a list or range with MODE.SNGL in TX Sheet Control: the first of several modes, the #N/A error and an example.

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

---

Return the most frequent number of a set of numbers. When several numbers occur equally often, MODE.SNGL returns the one that comes first; use [MODE.MULT](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/mode-mult/llms-full.txt) to get all of them. A set in which no number occurs twice returns `#N/A`.

### Syntax

```text
MODE.SNGL(number1, number2)
```

Category: Statistics. Minimum arguments: 1. Maximum arguments: 255.

Available for supported offline calculation.

### Examples

```text
=MODE.SNGL(1,2,2,3)
```

The formula returns 2, the only number that occurs twice.

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:** [MODE.MULT Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/mode-mult/llms-full.txt)
- **Next:** [MONTH Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/month/llms-full.txt)
