# TBILLYIELD Function

> Calculate the yield of a Treasury bill from its price with TBILLYIELD in TX Sheet Control: settlement, maturity, price per 100, #NUM! and an example.

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

---

Return the yield of a Treasury bill. `settlement` and `maturity` are the settlement and maturity dates of the bill, and `discount_or_price` is its price per 100 face value. A maturity on or before the settlement date or more than 366 days after it, or a price of zero or less, returns `#NUM!`.

### Syntax

```text
TBILLYIELD(settlement, maturity, discount_or_price)
```

Category: Financial. Minimum arguments: 3. Maximum arguments: 3.

Available for supported offline calculation.

### Examples

```text
=TBILLYIELD(DATE(2026,1,1),DATE(2026,7,1),97.5)
```

The formula returns 0.0509987250, a yield of about 5.1% for a six-month bill bought at 97.50.

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:** [TBILLPRICE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/tbillprice/llms-full.txt)
- **Next:** [T.DIST Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/t-dist/llms-full.txt)
