ODDLYIELD function
Returns the yield of a bond with an odd (short or long) last 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
ODDLYIELD(settlement, maturity, last_interest, 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. |
last_interest | Required | Date of the last regular coupon. |
rate | Required | Annual coupon rate. |
pr | Required | Clean price per 100. |
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 ODDLYIELD works
ODDLYIELD is the reverse of ODDLPRICE. For a bond in an irregular final period — only the final payment of principal plus a pro-rated coupon is left — it returns the annual yield implied by the price. Since there is a single cash flow left, Excel can calculate the yield directly with simple interest, without iteration.
Use it to compare a soon-to-mature bond with money-market alternatives such as bills or deposits.
Examples
1Yield of a bond close to maturity
| A | B | |
|---|---|---|
| 1 | Settlement | 2026-12-02 |
| 2 | Maturity | 2027-02-15 |
| 3 | Last coupon | 2026-09-30 |
| 4 | Coupon rate | 4.00% |
| 5 | Price | 99.8 |
| 6 | Redemption | 100 |
| 7 | Frequency | 2 |
| 8 | Basis | 0 |
| 9 | ||
| 10 | 4.962% |
Result: 4.962%
Paying 99.80 plus 0.69 accrued for 101.50 in 73 days (30/360) works out to 4.962% a year (% with 3 decimals).
2Round trip with ODDLPRICE
| A | B | |
|---|---|---|
| 1 | Settlement | 2026-12-02 |
| 2 | Maturity | 2027-02-15 |
| 3 | Last coupon | 2026-09-30 |
| 4 | Coupon rate | 4.00% |
| 5 | Yield | 4.50% |
| 6 | Redemption | 100 |
| 7 | Frequency | 2 |
| 8 | Basis | 0 |
| 9 | ||
| 10 | 4.50% |
Result: 4.50%
Pricing at 4.5% and asking for the yield returns 4.50%, showing the two functions are inverses.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | Dates out of order, or price ≤ 0. | Check last_interest < settlement < 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 XIRR.
ODDLYIELD 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.SIDSTE.AFKAST |
| Dutch | AFW.LT.REND |
| Finnish | PARITON.VIIM.TUOTTO |
| French | REND.DCOUPON.IRREG |
| German | UNREGLE.REND |
| Hungarian | ELTÉRŐ.UHOZAM |
| Italian | REND.ULTIMO.IRR |
| Norwegian (Bokmål) | AVVIKSP.AVKASTNING |
| Polish | RENT.OST.OKR |
| Portuguese (Brazil) | LUCROÚLTINC |
| Portuguese (Portugal) | LUCROÚLTINC |
| Russian | ДОХОДПОСЛНЕРЕГ |
| Spanish | RENDTO.PER.IRREGULAR.2 |
| Swedish | UDDASAVKASTNING |
| Turkish | TEKSÖDEME |