=ODDFYIELD(sd, md, id, fd, rate, pr, redem, freq, [basis], [numeric])
=ODDFYIELD(C10,C12,C9,C11,C7,C5,C6,C13,C14)
The ODDFYIELD function can be used to calculate the yield of a bond. For example, the formula will return the yield of a bond with a settlement date of 1-Feb-2019, maturity date of 15-Feb-2022, and coupon rate of 5%, with the first coupon paid on 15-Feb-2019.
=ODDFYIELD(C10,C12,C9,C11,C7,C5,C6,C13,C14)
To calculate the yield of a bond, you can use the ODDFYIELD function. For example, if you have the settlement date of the bond in cell C10, the maturity date of the bond in cell C12, the coupon rate of the bond in cell C9, the first coupon paid on the bond in cell C11, the frequency of the coupon payments in cell C7, the Basis in C5, the Yield in C6, the accrued interest in cell C13, and the redemption value in cell C14, you can use the formula above to calculate the yield of the bond.
The ODDFYIELD function is used to calculate the yield of a security with an odd first period.