=ODDLPRICE(sd, md, id, rate, yld, redem, freq, [basis])
The ODDLPRICE function can be used to calculate the price of a bond with a given face value. The function takes eight parameters: settlement date, maturity date, last interest date, coupon rate, yield rate, face value, frequency, and basis. The function returns the price per $100 face value of the bond.
=ODDLPRICE(DATE(2018,2,5),DATE(2018,6,15),DATE(2017,10,15),0.05,0.06,100,2,0)
For example, consider a bond with a settlement date of 5-Feb-2018, a maturity date of 15-Jun-2018, and a last interest date of 15-Oct-2017. The coupon rate is 0.05, the yield rate is 0.06, the face value is 100, the frequency is 2, and the basis is 0. To calculate the price of this bond, the ODDLPRICE function could be used with the above arguments.
The ODDLPRICE function calculates the price per $100 face value of a security with an odd last coupon period. This can help investors make informed decisions about investments with an odd last coupon period.