# ODDFYIELD Function

> Calculate the yield of a bond with an odd first coupon period using ODDFYIELD in TX Sheet Control: dates, rate, price, redemption, frequency and basis.

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

---

Return the yield of a security with an odd (short or long) first period. `settlement`, `maturity`, `issue` and `first_coupon` are the settlement, maturity, issue and first coupon dates, `rate` is the annual interest rate, `yield_or_price` the price per 100 face value and `redemption` the redemption value per 100 face value. `frequency` is the number of coupon payments per year: 1 (annual), 2 (semiannual) or 4 (quarterly). `basis` selects the day count convention: 0 (US 30/360, the default), 1 (actual/actual), 2 (actual/360), 3 (actual/365) or 4 (European 30/360). Dates out of order, a negative price, or another frequency or basis return `#NUM!`.

### Syntax

```text
ODDFYIELD(settlement, maturity, issue, first_coupon, rate, yield_or_price, redemption, frequency, basis)
```

Category: Financial. Minimum arguments: 8. Maximum arguments: 9.

Available for supported offline calculation.

### Examples

```text
=ODDFYIELD(DATE(2008,11,11),DATE(2021,3,1),DATE(2008,10,15),DATE(2009,3,1),0.0785,0.0625,100,2,1)
```

The formula returns about 26.63, a yield of 2,663%, because the sixth argument, 0.0625, is read as a price of 0.0625 per 100 face value. With a price of 113.6 instead, the formula returns 0.0625, a yield of 6.25%.

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:** [ODDFPRICE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/oddfprice/llms-full.txt)
- **Next:** [ODDLPRICE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/oddlprice/llms-full.txt)
