# ODDLPRICE Function

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

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

---

Return the price per 100 face value of a security with an odd (short or long) last period. `settlement` and `maturity` are the settlement and maturity dates and `last_interest` the last coupon date before them; `rate` is the annual interest rate, `yield_or_price` the annual yield 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). A last coupon date after the settlement date, or another frequency or basis, returns `#NUM!`.

### Syntax

```text
ODDLPRICE(settlement, maturity, last_interest, rate, yield_or_price, redemption, frequency, basis)
```

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

Available for supported offline calculation.

### Examples

```text
=ODDLPRICE(DATE(2008,2,7),DATE(2008,6,15),DATE(2007,10,15),0.0375,0.0405,100,2,0)
```

The formula returns 99.88, the price of a bond with a 3.75% coupon and a 4.05% yield.

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:** [ODDFYIELD Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/oddfyield/llms-full.txt)
- **Next:** [ODDLYIELD Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/oddlyield/llms-full.txt)
