# ODDFPRICE Function

> Calculate the price of a bond with an odd first coupon period using ODDFPRICE 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 > ODDFPRICE Function
- **322 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/oddfprice/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/oddfprice/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/oddfprice/llms-full.txt

---

Return the price per 100 face value 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 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). Dates out of order, such as an issue date after the settlement date, a negative rate, or another frequency or basis return `#NUM!`.

### Syntax

```text
ODDFPRICE(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
=ODDFPRICE(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 113.60, the price of a bond with a 7.85% coupon and a 6.25% 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:** [ODD Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/odd/llms-full.txt)
- **Next:** [ODDFYIELD Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/oddfyield/llms-full.txt)
