Net Present Value (NPV), as the name suggest it is the sum of present value of outflow and inflow cash discounted at a rate. Lets assume some Cashflow (CF) and find out the NPV using discount rate formula
At a discount rate of 8%, Present Value (PV) factor is calculated and multiplied with CF. The the discounted CF gives the NPV. The same can be achieved by using NPV formula as seen in the screen shot.
Internal Rate of Return (IRR) is the rate at which NPV is zero. If we separately find out the sum of NPV of outflow and inflow using a rate, we will get a value. Using Goal seek function of excel, we set the target value of sum to zero by changing the rate cell, we will get IRR in the rate cell. The same result can be achieved by using IRR function.
Now that we have learned the basics lets move forward. The NPV and IRR function assume the CF to happen annually, which may not be the case. For that we have functions like XNPV and XIRR at our disposal. Lets assume some random dates and find out the XNPV and XIRR.
We can observe the difference between two types of function.
People working in Project finance related assignment know that IRR is an optimistic number because the intermediate CF are reinvested at IRR, which may not represent the realty and hence making IRR a highly optimistic or inflated rate of return. To counter this we use Modified IRR (MIRR). MIRR considers both the cost of the investment and the interest received on reinvestment of cash.
Finance rate is the rate at which cash outflow is funded, usually cost of capital. Reinvestment rate is the rate at which intermediate CF are assumed invested, usually a mutually agreed conservative rate. Therefore MIRR represents a relatively fairer rate of return on the investment. Lets again assume some numbers and verify this.
We can see that MIRR is lower than IRR, when a conservative reinvestment rate is used. MIRR equals IRR when FR & RR equals IRR, which cannot be true in most cases.
But wait, again MIRR assumes annual cashflow, what if CF are not annual. And there is no direct function for it!
This requires a deeper understanding of how MIRR is calculated. Lets recalculate the MIRR in above example.
As you can see in above screen shot that outflow and inflow are separated. For outflow the NPV is found using Finance rate. For Inflow the future value is found using formula at time period 5. The MIRR is calculated using IRR function with NPV of outflow and total future value of inflow.
We have to use above logic to calculate MIRR with non periodic CF, lets call it Non Perodic MIRR (NP MIRR).
We calculate the present value of outflow using XNPV and future value of inflow using yearfrac function and formula. After getting the value we simply calculate the XIRR of CF, which gives us the NP MIRR. We can see that MIRR and NP MIRR are different.
Link to the file :