Financial function

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])
ArgumentWhat it means
settlementRequiredThe date you buy the security (after its issue date).
maturityRequiredThe date the security matures and is repaid.
issueRequiredIssue date.
first_couponRequiredDate of the first coupon.
rateRequiredAnnual coupon rate.
prRequiredClean price per 100 face value.
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 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

B10fx=ODDFYIELD(B1,B2,B3,B4,B5,B6,B7,B8,1)
AB
1Settlement2026-12-02
2Maturity2031-03-15
3Issue2026-10-20
4First coupon2027-03-15
5Coupon rate5.00%
6Price98.4
7Redemption100
8Frequency2
9
105.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

B10fx=ODDFPRICE(B1,B2,B3,B4,B5,ODDFYIELD(B1,B2,B3,B4,B5,B6,B7,B8,1),B7,B8,1)
AB
1Settlement2026-12-02
2Maturity2031-03-15
3Issue2026-10-20
4First coupon2027-03-15
5Coupon rate5.00%
6Price98.4
7Redemption100
8Frequency2
9
1098.4000

Result: 98.4000

Pricing the bond at the yield just found returns the original 98.40, confirming the result (4 decimals).

⬇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 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.

LanguageFunction name
DanishULIGE.FØRSTE.AFKAST
DutchAFW.ET.REND
FinnishPARITON.ENS.TUOTTO
FrenchREND.PCOUPON.IRREG
GermanUNREGER.REND
HungarianELTÉRŐ.EHOZAM
ItalianREND.PRIMO.IRR
Norwegian (Bokmål)AVVIKFP.AVKASTNING
PolishRENT.PIERW.OKR
Portuguese (Brazil)LUCROPRIMINC
Portuguese (Portugal)LUCROPRIMINC
RussianДОХОДПЕРВНЕРЕГ
SpanishRENDTO.PER.IRREGULAR.1
SwedishUDDAFAVKASTNING
TurkishTEKYÖDEME