Hey guys,
I've been trying to compute the mduration and duration function in excel. However, we are not allowed to use MDURATION or DURATION according to the lecturer.
We have input variables: face value, coupon %, maturity(years), current price, yield.When any of those variables change, our answer is supposed to update automatically.
Does anyone have any idea on how to compute this in excel? I don't have VDA so that is not an option either.
I've been trying to compute the mduration and duration function in excel. However, we are not allowed to use MDURATION or DURATION according to the lecturer.
We have input variables: face value, coupon %, maturity(years), current price, yield.When any of those variables change, our answer is supposed to update automatically.
Does anyone have any idea on how to compute this in excel? I don't have VDA so that is not an option either.