# CHOOSECOLS Function

> Return selected columns of an array or range with CHOOSECOLS in TX Sheet Control: column numbers, negative indexes from the end, spilling and #VALUE!.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [CHOOSE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/choose/llms.txt)
- **Next:** [CHOOSEROWS Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/chooserows/llms.txt)
