Practice free

ODDLYIELD function

ODDLYIELD turns a price into a yield for a bond whose final coupon period is irregular. It is the inverse of ODDLPRICE, and dates are best passed as cell references.

Example

Read it as a sentence: find the yield of a bond settling April 20, 2008 and maturing June 15, 2008, priced at 99.875 with a 3.75% coupon, then round to 4 decimal places, which gives 0.0452.

Practice this in the app

Syntax

ODDLYIELD(settlement, maturity, last_interest, rate, pr, redemption, frequency, [basis])

Arguments in [square brackets] are optional.

settlement (required)
Date the security is bought (after issue, before maturity).
maturity (required)
Date the security expires and is repaid.
last_interest (required)
Date of the last coupon before maturity.
rate (required)
Annual coupon rate.
pr (required)
Price per 100 face value.
redemption (required)
Redemption value per 100 face value.
frequency (required)
Coupon payments per year: 1 annual, 2 semiannual, 4 quarterly.
basis (optional)
Day-count convention: 0 or omitted = US 30/360, 1 = actual/actual, 2 = actual/360, 3 = actual/365, 4 = European 30/360.

Returns: Yield of a bond with an odd last period.

What Excel actually returns

Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.

FormulaExcel showsCase
=ODDLYIELD(DATE(2024,2,7),DATE(2024,6,15),DATE(2023,10,15),0.0375,99.875,100,2,0) 0.040592784 Typical
=ODDLYIELD(DATE(2024,2,7),DATE(2024,6,15),DATE(2023,10,15),0.0375,99.875,100,2) 0.040592784 Basis omitted
=ODDLYIELD(DATE(2024,2,7),DATE(2024,6,15),DATE(2023,10,15),0.0375,99.875,100,1,0) 0.040592784 Frequency 1
=ODDLYIELD(DATE(2024,2,7),DATE(2024,6,15),DATE(2023,10,15),0.0375,99.875,100,4,0) 0.040592784 Frequency 4
=ODDLYIELD(DATE(2024,2,7),DATE(2024,6,15),DATE(2023,10,15),0.0375,99.875,100,2,1) 0.040618684 Basis 1
=ODDLYIELD(DATE(2024,2,7),DATE(2024,6,15),DATE(2023,4,15),0.0375,99.875,100,2,0) 0.039853239 Long last period
=ODDLYIELD(DATE(2024,2,7),DATE(2024,6,15),DATE(2023,10,15),0.0375,99.875,100,3,0) #NUM! Frequency 3
=ODDLYIELD(DATE(2024,2,7),DATE(2024,6,15),DATE(2023,10,15),0.0375,99.875,100,2,5) #NUM! Basis 5

Watch out for

  • Pass dates with DATE() or cell references; text dates can misbehave and invalid dates return #VALUE!.

Where it works

Excel
ODDLYIELD is in every version of Excel from 2007 on.
Google Sheets
No direct equivalent. No ODDLYIELD in Google Sheets.

Part of Financial functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .