Related Function:

The ODDFYIELD function calculates the yield of a security with an odd (short or long) first period.




Argument Description
settlement The settlement date of the security, i.e. the date that the coupon is purchased
maturity The maturity date of the security, i.e. the date that the coupon expires
issue The issue date of the security
first_coupon The date of the security’s first coupon
rate The security’s interest rate
pr The security’s price per $100 face value
redemption The security’s redemption value per $100 face value
frequency Number of coupon payments per year. This must be one of the following:

  1 Annually
  2 Semi-Annually
  3 Quarterly
[basis] Optional. Defines the day count basis to be used in the calculation

  [basis] Day Count Basis
  0 (or omitted) US (NASD) 30/360
  1 actual/actual
  2 actual/360
  3 actual/365
  4 European 30/360

The financial day count basis rules are explained in detail on the Wikipedia Day Count Convention page

Note: The date arguments must satisfy the following:

issue < settlement < first_coupon < maturity

Note: The settlement, maturity, issue and first_coupon dates should be input as either:

  • References to cells containing dates, or
  • Dates returned from formulas

If you attempt to input these date arguments as text, Excel may misinterpret them, due to different date systems, or date interpretation settings.

Warning: Although you can input the date arguments as date serial numbers, this is not recommended as date serial numbering does vary across different computer systems.


  A B C D E
1 Data        
2 11-Nov-2008 Settlement date      
3 01-Mar-2021 Maturity date      
4 15-Oct-2008 Issue date      
5 01-Mar-2009 First coupon date      
6 5.75% Interest rate      
7 $84.50 Price      
8 $100.00 Redemption value      
9 2 Frequency – semi-annual      
10 0 30/360 basis      
12 Formula Result Notes
13 =ODDFYIELD(A2,A3,A4,A5,A6,A7,A8,A9,A10) 7.72% The yield of a security that has an odd, short or long, first period, for the bond using the terms in cells A2:A10 as function arguments

Common Function Error(s)

Problem What went wrong
#VALUE! Occurs if either:

  any of the supplied arguments are non-numeric
  any of the supplied date arguments are not a valid dates
#NUM! Occurs if either:

  the issue date is ≥ settlement date
  the settlement date is ≥ first_coupon date
  the first_coupon date is ≥ maturity date
  invalid numbers are supplied for the rate, pr, redemption, frequency or [basis] arguments
#NAME? Occurs when Analysis ToolPak add-in is not enabled