# HEX2OCT Function

> Convert a hexadecimal number to octal with HEX2OCT in TX Sheet Control: two's complement for negative numbers, the valid range, places and #NUM! errors.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [HEX2DEC Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/hex2dec/llms.txt)
- **Next:** [HLOOKUP Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/hlookup/llms.txt)
