The Excel ODDFYIELD function calculates the yield of a security with an odd (short or long) first period.
The syntax of the function is:
Where the arguments are as follows:
|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.|
|redemption||-||The security's redemption value per $100 face value.|
An optional integer argument which specifies the financial day count basis that is used by the security. Possible values are:
For a detailed explanation of the financial day count basis rules, see the Wikipedia Day Count Convention page.
Note that the date arguments must satisfy the following:
Also, the date arguments should be supplied to the function as either:
Warning: If you attempt to enter text representations of dates into Excel functions, these can be interpreted differently, depending on the date system and date interpretation settings on your computer.
The following example shows the Excel Oddfyield function used to calculate the yield of a security with an issue date of 15-Mar-2011, a settlement date of 01-May-2011, a first coupon date of 30-Jun-2011, and a Maturity date 30-Jun-2015. The security's interest rate is 5.5%, the price is $102 and the redemption value is $100. Payments are made quarterly and the US (NASD) 30/360 day count basis is used:
|4||First Coupon Date:||30-Jun-2011|
|5||=ODDFYIELD( B1, B2, B3, B4, 5.5%, 102, 100, 4 )|
The above Oddfyield function calculates the yield to be 4.65%.
Note that, in the above example:
Further examples of the Excel Oddfyield function are provided on the Microsoft Office website.
If you get an error from the Oddfyield function, this is likely to be one of the following: