# COUPDAYS Function

> Calculate the days of the coupon period that contains the settlement date with COUPDAYS in TX Sheet Control: frequency, day count basis and errors.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [COUPDAYBS Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/coupdaybs/llms.txt)
- **Next:** [COUPDAYSNC Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/coupdaysnc/llms.txt)
