=ODDFPRICE(sd, md, id, fd, rate, yld, redem, freq, [basis])
The ODDFPRICE function calculates the price of a security that pays a series of odd periodic cash flows. This example uses the ODDFPRICE function to calculate the price of a security that pays two cash flows:
=ODDFPRICE(DATE(2019,2,1),DATE(2022,2,15),DATE(2018,12,1),DATE(2019,2,15),0.05,0.06,100,2,0)
The first cash flow is paid on December 1st, 2018, and is worth 100. The second cash flow is paid on February 15th, 2019, and is worth 100. The security pays an annual interest rate of 5% up until February 1st, 2019, and 6% after February 1st, 2019. When the currency number format is applied, the price of the security is 97.26.
The ODDFPRICE function can also be used to calculate the price of a security that pays multiple cash flows. This example uses the ODDFPRICE function to calculate the price of a security that pays four cash flows:
=ODDFPRICE(DATE(2018,12,1),DATE(2022,3,15),DATE(2018,12,1),DATE(2019,2,15),DATE(2020,4,15),DATE(2021,6,15),0.03,0.05,0.07,0.09,50,4,0)
The first cash flow is paid on December 1st, 2018, and is worth 50. The second cash flow is paid
The ODDFPRICE function in Sourcetable is used to calculate the price per $100 face value of a security with an odd first period. It takes five arguments – settlement, maturity, issue, first_coupon, and rate – all of which are calculated as sequential serial numbers.