Related Function:

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

### Syntax

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

#### Arguments

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
last_interest The date of the security’s last 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:

last_coupon < settlement < maturity

Note: The settlement, maturity and last_interest 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.

#### Examples

A B C D
1 Data
2 20-Apr-2014 Settlement date
3 15-Jun-2014 Maturity date
4 24-Dec-2013 Last interest date
5 3.75% Interest rate
6 \$99.875 Price
7 \$100.00 Redemption value
8 2 Frequency – semi-annual
9 0 30/360 basis
10
11 Formula Result Notes
12 =ODDLYIELD(A2,A3,A4,A5,A6,A7,A8,A9) 4.52% The yield of a security that has an odd (short or long) last period, for the bond using the terms in cells A2:A9 as function arguments. Result is 0.04519, or 4.52%

#### 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 last_coupon date is ≥ settlement date • the settlement 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