ODDFYIELD function
Returns the yield of a bond with an odd (short or long) first coupon period, from its price.
Available in Excel 2007 and later (earlier versions needed the Analysis ToolPak add-in), Excel for the web
Excel 2007 and laterNot in Google Sheets
Syntax
ODDFYIELD(settlement, maturity, issue, first_coupon, rate, pr, redemption, frequency, [basis])| Argument | What it means | |
|---|---|---|
settlement | Required | The date you buy the security (after its issue date). |
maturity | Required | The date the security matures and is repaid. |
issue | Required | Issue date. |
first_coupon | Required | Date of the first coupon. |
rate | Required | Annual coupon rate. |
pr | Required | Clean price per 100 face value. |
redemption | Required | Redemption value per 100. |
frequency | Required | Coupon payments per year: 1 = annual, 2 = semi-annual, 4 = quarterly. |
basis | Optional | Day-count basis: 0 or omitted = US 30/360, 1 = actual/actual, 2 = actual/360, 3 = actual/365, 4 = European 30/360. |
Returns: The annual yield (format as %).
How ODDFYIELD works
ODDFYIELD is the reverse of ODDFPRICE: given the price of a recently issued bond whose first coupon period is irregular, it finds the yield to maturity. Excel solves for the yield iteratively, adjusting it until ODDFPRICE at that yield reproduces your price.
Use it when evaluating new-issue bonds in their first coupon period. After the first coupon is paid, the ordinary YIELD function applies.
Examples
1Yield on a new bond bought at 98.40
| A | B | |
|---|---|---|
| 1 | Settlement | 2026-12-02 |
| 2 | Maturity | 2031-03-15 |
| 3 | Issue | 2026-10-20 |
| 4 | First coupon | 2027-03-15 |
| 5 | Coupon rate | 5.00% |
| 6 | Price | 98.4 |
| 7 | Redemption | 100 |
| 8 | Frequency | 2 |
| 9 | ||
| 10 | 5.423% |
Result: 5.423%
Paying 98.40 for the 5% bond with a short first coupon gives a yield of 5.423% (% with 3 decimals).
2Check with ODDFPRICE
| A | B | |
|---|---|---|
| 1 | Settlement | 2026-12-02 |
| 2 | Maturity | 2031-03-15 |
| 3 | Issue | 2026-10-20 |
| 4 | First coupon | 2027-03-15 |
| 5 | Coupon rate | 5.00% |
| 6 | Price | 98.4 |
| 7 | Redemption | 100 |
| 8 | Frequency | 2 |
| 9 | ||
| 10 | 98.4000 |
Result: 98.4000
Pricing the bond at the yield just found returns the original 98.40, confirming the result (4 decimals).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | Dates out of order or price ≤ 0. | Check issue < settlement < first_coupon < maturity. |
#VALUE! | A date argument is not a valid date. | Use real date cells or DATE; dates are truncated to whole days. |
Tips
- Enter dates with DATE or as date cells, not as text such as "12/02/2026", which different regional settings read differently.
Google Sheets
No odd-period bond functions; use YIELD for regular periods or solve the cash flows with IRR/XIRR.
ODDFYIELD in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | ULIGE.FØRSTE.AFKAST |
| Dutch | AFW.ET.REND |
| Finnish | PARITON.ENS.TUOTTO |
| French | REND.PCOUPON.IRREG |
| German | UNREGER.REND |
| Hungarian | ELTÉRŐ.EHOZAM |
| Italian | REND.PRIMO.IRR |
| Norwegian (Bokmål) | AVVIKFP.AVKASTNING |
| Polish | RENT.PIERW.OKR |
| Portuguese (Brazil) | LUCROPRIMINC |
| Portuguese (Portugal) | LUCROPRIMINC |
| Russian | ДОХОДПЕРВНЕРЕГ |
| Spanish | RENDTO.PER.IRREGULAR.1 |
| Swedish | UDDAFAVKASTNING |
| Turkish | TEKYÖDEME |