# YIELDDISC Function

> Calculate the annual yield of a discounted security such as a Treasury bill with YIELDDISC in TX Sheet Control: dates, price, redemption, basis and errors.

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

---

Return the annual yield of a discounted security, such as a Treasury bill, that pays no interest. `settlement` and `maturity` are the settlement and maturity dates, `price_or_investment` the price per 100 of face value and `redemption_or_discount` the redemption value per 100 of face value. `basis` selects the day count convention, from 0 (US 30/360, the default) to 4. A settlement date on or after maturity, a price of zero or less, or another basis returns `#NUM!`.

### Syntax

```text
YIELDDISC(settlement, maturity, price_or_investment, redemption_or_discount, basis)
```

Category: Financial. Minimum arguments: 4. Maximum arguments: 5.

Available for supported offline calculation.

### Examples

```text
=YIELDDISC(DATE(2026,1,1),DATE(2027,1,1),95,100)
```

The formula returns 0.0526315789: buying at 95 and redeeming at 100 after one year yields about 5.26%.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [YIELD Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/yield/llms-full.txt)
- **Next:** [YIELDMAT Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/yieldmat/llms-full.txt)
