# Formulas

> Write formulas with setFormula, use sheet and table references, spill dynamic arrays, handle #REF! and #SPILL! errors and supply external data with a provider.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Sheet Control > Spreadsheet Documents > Formulas
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt

---

## On This Page

- [Enter Formulas in a Cell](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/#enter-formulas-in-a-cell)
- [Lock References and Fill Selected Cells](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/#lock-references-and-fill-selected-cells)
- [Write Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/#write-formulas)
- [Look Up Functions in the Catalog](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/#look-up-functions-in-the-catalog)
- [Use References and Dynamic Arrays](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/#use-references-and-dynamic-arrays)
- [Handle Calculation Errors](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/#handle-calculation-errors)
- [Supply External Data With a Provider](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/#supply-external-data-with-a-provider)
- [Configure Custom Functions and External Workbooks](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/#configure-custom-functions-and-external-workbooks)
- [Next Steps](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/#next-steps)

---

## Nearby

- **Previous:** [Conditional Formatting and Cell Styles](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/conditional-formatting/llms.txt)
- **Next:** [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms.txt)
