Get yield of security with odd last period
=ODDLYIELD(sd, md, ld, rate, pr, redem, freq, [basis])
| Parameter | Description |
|---|---|
sd |
Settlement date of the security. |
md |
Maturity date of the security. |
ld |
Last interest date of security. |
rate |
Interest rate of security. |
pr |
Price per $100 face value. |
redem |
Redemption value per $100 face value. |
freq |
Coupon payments per year (annual = 1, semiannual = 2; quarterly = 4). |
basis |
[optional] Day count basis (see below, default =0). |
In the example shown, we want to calculate the yield of a bond with a last interest date of 15-Oct-2017 and a settlement date of 5-Feb-2018. The bond
=ODDLYIELD(C9,C11,C10,C7,C5,C6,C12,C13)
In Excel, dates are serial numbers. Generally, the best way to enter valid dates is to use cell references, as shown in the example. To enter valid da
=ODDLYIELD(DATE(2018,2,5),DATE(2018,6,15),DATE(2017,10,15),0.05,99.5,100,2,0)