Originally Posted by
TripleG-CO
I have a monthly construction period and then semiannual operating periods for the cash flows. If I do a running XIRR using one construction outflow, then starting with operating inflows/outflows after that then I get the negatives I would expect.
My issue then becomes not only how to tell excel to pick an end date for the IRR, but to also look for a dynamic start date.
It is easy to specify both dynamic start and end dates. But I'm not sure the calculated IRR is truly the result that you need.
First, I avoid using OFFSET because it is a "volatile" function. That means the formula as well as any dependent formulas are recalculated every time Excel (re)calculates any cell in any worksheet in the workbook. So I would have written the original formula as:
So if the start date is in B2, we simply replace C5 and B5 as follows:
However, that seems impractical since a cash flow on any particular start date is probably not the initial cash flow for the remaining series of cash flows.
For example, if you just want the IRR for the semiannual operating periods, simply setting B2 to 5/31/2020 or 6/30/2020 will not calculate the intended IRR.
Instead, I suspect you want the initial cash flow to be the sum (or NPV or NFV) of the construction cash flows ("using one construction outflow").
Although it is not difficult to construct a dynamic sum using INDEX/MATCH again, you would need to alter the table of operating cash flows so that the initial construction sum is properly signed and in the cell before the first operating cash flow.
I would need to presume too much in order to speculate such a change to your design.
-----
PS.... Of course, if you are enamored to OFFSET, I could have simply changed the nigelbloomy's formula as follows:
Bookmarks