Financial function

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])
ArgumentWhat it means
settlementRequiredThe date you buy the security (after its issue date).
maturityRequiredThe date the security matures and is repaid.
last_interestRequiredDate of the last regular coupon.
rateRequiredAnnual coupon rate.
prRequiredClean price per 100.
redemptionRequiredRedemption value per 100.
frequencyRequiredCoupon payments per year: 1 = annual, 2 = semi-annual, 4 = quarterly.
basisOptionalDay-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

B10fx=ODDLYIELD(B1,B2,B3,B4,B5,B6,B7,B8)
AB
1Settlement2026-12-02
2Maturity2027-02-15
3Last coupon2026-09-30
4Coupon rate4.00%
5Price99.8
6Redemption100
7Frequency2
8Basis0
9
104.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

B10fx=ODDLYIELD(B1,B2,B3,B4,ODDLPRICE(B1,B2,B3,B4,B5,B6,B7,B8),B6,B7,B8)
AB
1Settlement2026-12-02
2Maturity2027-02-15
3Last coupon2026-09-30
4Coupon rate4.00%
5Yield4.50%
6Redemption100
7Frequency2
8Basis0
9
104.50%

Result: 4.50%

Pricing at 4.5% and asking for the yield returns 4.50%, showing the two functions are inverses.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 14 KB

Common errors and how to fix them

ErrorWhy it happensFix
#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.

LanguageFunction name
DanishULIGE.SIDSTE.AFKAST
DutchAFW.LT.REND
FinnishPARITON.VIIM.TUOTTO
FrenchREND.DCOUPON.IRREG
GermanUNREGLE.REND
HungarianELTÉRŐ.UHOZAM
ItalianREND.ULTIMO.IRR
Norwegian (Bokmål)AVVIKSP.AVKASTNING
PolishRENT.OST.OKR
Portuguese (Brazil)LUCROÚLTINC
Portuguese (Portugal)LUCROÚLTINC
RussianДОХОДПОСЛНЕРЕГ
SpanishRENDTO.PER.IRREGULAR.2
SwedishUDDASAVKASTNING
TurkishTEKSÖDEME