Originally Posted by
cartica
I am trying to figure out the best way to calculate the IRR on my Stock Purchases/Sales. I am using the first day of the month and pulling in the cash flows (-) for buys, and (+) for sells. Sometimes my first purchase, and last sale are not the first of the month.
You are correct to use XIRR, especially in the latter case (variable cash flow frequency).
And you are wise to use SUMPRODUCT to calculate NPV, since Excel XNPV does not accept negative IRR. (A defect.)
You are also wise to calculate the NPV to check any Excel XIRR result. I have seen examples where Excel XIRR returns a completely bogus IRR.
You might wonder why the NPV is about -0.17 and -5.02, seemingly not very close to zero.
First, they are close to zero relative to the cash flow amounts (millions).
But the fact, is: my own XIRR implementation does result in exactly zero for both NPVs.
I could speculate about why there is a difference. I could rant about the unreliability of Excel XIRR. But in this case, the difference is really very small:
You could use the Excel IRR for your example, since the cash flows occur on a regular basis. However, that gives you a monthly IRR, whereas XIRR returns an annual IRR.
You might annualize the monthly IRR with the formula =(1+monIRR)^12-1. But the result will differ from the result from Excel XIRR because months are not really equal.
Also, what is the IRR telling me if it's more Negative, than my actual return (this is not included in excel example)? How do I explain this difference?
"Time value of money" is the standard explanation. Of course, that means nothing to most people. To be honest, I cannot explain it any further on a conceptual level. It is what it is.
The important thing about IRR is: it is a fictitious rate(!). What I mean by that is: it does not really reflect either the earning (or loss) rate or the "spending power", which is affected by inflation.
The purpose of the IRR is to compare two or more investment alternatives. For that purpose, what matters is not the actual numbers, but how they compare.
Bookmarks