An array that contains numbers. These numbers represent a series of payments (negative values) and income (positive values) occurring at regular periods. Values must contain at least one positive value and one negative value to calculate the modified internal rate of return. Otherwise, an error is thrown (divide by zero).
OptionalfinanceRate: numberThe interest rate you pay on the money used in the cash flows.
OptionalreinvestRate: numberThe interest rate you receive on the cash flows as you reinvest them.
the modified internal rate of return
Calculates the modified internal rate of return for a series of periodic cash flows. Considers both the cost of the investment and the interest received on reinvestment of cash.
Remarks:
nis the number of cash flows in values,frateis thefinanceRate, andrrateis thereinvestRate, then the equation is:((-NPV(rrate, values[positive]) * (1 + rrate)) / (NPV(frate, values[negative]) * (1 + frate)))^(1 / (n - 1)) - 1