# MID Function

> Extract characters from the middle of a text with the MID formula function of TX Sheet Control: 1-based start position, length, text end and #VALUE! errors.

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

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/mid/#syntax)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/mid/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/mid/#see-also)

---

## Nearby

- **Previous:** [MEDIAN Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/median/llms.txt)
- **Next:** [MIDB Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/midb/llms.txt)
