YIELDMAT(settlement, maturity, issue, rate, pr, [basis])
=YIELDMAT(settlement, maturity, rate, pr, redemption, frequency)
The YIELDMAT function is used to calculate the yield to maturity of a bond.
=YIELDMAT(C9,C7,C8,C6,C5,C10)
For example, if you have the following data in cells C9, C7, C8, C6, C5 and C10: settlement = 4/1/20, maturity = 8/1/20, rate = 0.05, pr = 100, redemption = 100 and frequency = 2, the formula returns 0.081 which is 8.10% when formatted with the percentage number format.
=YIELDMAT(C9,C7,C8,C6,C5,C10)
If you have the following data in cells C9, C7, C8, C6, C5 and C10: settlement = 4/1/20, maturity = 8/1/20, rate = 0.05, pr = 100, redemption = 110 and frequency = 2, the formula returns 0.092 which is 9.20% when formatted with the percentage number format.
=YIELDMAT(C9,C7,C8,C6,C5,C10)
If you have the following data in cells C9, C7, C8, C6, C5 and C10: settlement = 4/1/20, maturity = 8/1/20, rate = 0.05, pr = 100, redemption = 90 and frequency = 2, the formula returns 0.071 which is 7.10% when formatted with the percentage number format.
YIELDMAT is a function which calculates the annual yield of a security based on the interest paid at maturity.