==INTRATE(settlement, maturity, investment, redemption, [basis])
=INTRATE(DATE(2017,7,6),DATE(2020,1,15),895,1000,0)
The function can be used to calculate the annual effective interest rate on a bond. For example, this returns 4.65%, which is the annual effective interest rate for a bond with a price of $895 and a redemption value of $1000.
The function can also be used to calculate the annual effective interest rate on a bond that has been held for a period of time. For example, this returns the 4.65% annual effective interest rate for a bond with a price of $895 that has been held for 6 months.
=INTRATE(DATE(2020,1,1),DATE(2020,2,1),1000,1100,0)
The function can also be used to calculate the annual effective interest rate on a bond that has not been held for a period of time. For example, this returns the 4.00% annual effective interest rate for a bond with a price of $1000 and a redemption value of $1100.
The INTRATE function calculates the interest rate of a fully invested security based on the settlement, maturity, investment, redemption, and basis arguments.