# AGGREGATE Function

> Calculate sums, averages, counts, ranks and percentiles that ignore errors and nested subtotals with AGGREGATE in TX Sheet Control: function_num, options and k.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [ADDRESS Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/address/llms.txt)
- **Next:** [AMORDEGRC Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/amordegrc/llms.txt)
