Wonky XIRR Return

Drymr

New Member
Joined
Feb 20, 2017
Messages
9
Hi there,

I have a long XIRR calculation that keeps returning 0.00% even though the negatives are significantly outweighed by the positives (-2,607,471 and +4,661,616). I tried pasting the calculation below but it just came out as text and isn't formatted correctly. I think there may be something wrong with a setting in excel because this doesn't make sense to me. I've checked and iterative calculation is checked. Can anyone suggest what the problem may be?

Aug-17Sep-17Oct-17Nov-17Dec-17Jan-18Feb-18Mar-18Apr-18May-18Jun-18Jul-18Aug-18Sep-18Oct-18Nov-18Dec-18Jan-19Feb-19Mar-19Apr-19May-19Jun-19Jul-19Aug-19Sep-19Oct-19Nov-19Dec-19Jan-20Feb-20Mar-20Apr-20May-20Jun-20Jul-20Aug-20Sep-20Oct-20Nov-20Dec-20Jan-21Feb-21Mar-21Apr-21May-21Jun-21Jul-21Aug-21Sep-21Oct-21Nov-21Dec-21Jan-22Feb-22Mar-22Apr-22May-22Jun-22Jul-22Aug-22Sep-22Oct-22Nov-22Dec-22Jan-23Feb-23Mar-23Apr-23May-23Jun-23Jul-23Aug-23Sep-23Oct-23Nov-23Dec-23Jan-24Feb-24Mar-24Apr-24May-24Jun-24Jul-24Aug-24Sep-24Oct-24Nov-24Dec-24Jan-25Feb-25Mar-25Apr-25May-25Jun-25Jul-25Aug-25Sep-25Oct-25Nov-25Dec-25Jan-26Feb-26Mar-26Apr-26May-26Jun-26Jul-26Aug-26Sep-26Oct-26Nov-26Dec-26Jan-27Feb-27Mar-27Apr-27May-27Jun-27Jul-27
0000-1,325,2890025,49010,646-58,022-25,610-25,587-25,613-25,610-25,587-25,610-25,587-25,613-25,604-25,534-25,610-33,587-33,610-41,927-41,953-41,950-36,927-63,950-47,723-47,750-47,744-47,697-47,747-47,723-47,747-47,723-47,750-48,673-170,41186,10200000000000000000000000004,539,379000000000000000000000000000000000000000000000000000000
IRR0.00%

<tbody>
</tbody>
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
I think you'll find the zero result is actually approximately 2.98E-09. It's a little quirk of XIRR that it returns this value if it can't calculate a result.

You haven't posted your formula, but my guess is that you're starting with the August 2017 zero value? You'll need to start with the non-zero December 2017 value, in which case XIRR should return approximately 15.04% p.a., which looks correct to me.

You're probably aware of the limitations of IRR, i.e. if your cashflows flip between positive and negative there may be multiple solutions?
 
Upvote 0
I'll add my two-cents here to help out. I suspect different versions of Excel interpret IRR with multiple inflection points in different ways. I put the entire dataset into IRR and the function reported 1.1757093%.

Incidentally, XIRR reported 15.0417155% when the dataset begins at Dec , 2017.
 
Upvote 0
I think you'll find the zero result is actually approximately 2.98E-09. It's a little quirk of XIRR that it returns this value if it can't calculate a result.

You haven't posted your formula, but my guess is that you're starting with the August 2017 zero value? You'll need to start with the non-zero December 2017 value, in which case XIRR should return approximately 15.04% p.a., which looks correct to me.

You're probably aware of the limitations of IRR, i.e. if your cashflows flip between positive and negative there may be multiple solutions?

Thanks for replying. Too bad XIRR isn't able to start with zeros. Oh well.
 
Upvote 0
Thanks for replying. Too bad XIRR isn't able to start with zeros. Oh well.

Assuming your header Aug-17 is in cell A1, you could use:

=XIRR(INDEX(A2:DP2,MATCH(TRUE,A$2:DP$2<>0,)):DP2,INDEX(A1:DP1,MATCH(TRUE,A$2:DP$2<>0,)):DP1) array-entered

which should return 15.04% p.a.
 
Upvote 0
I put the entire dataset into IRR and the function reported 1.1757093%.

.... per period (month) = (1+1.1757%)^12-1 = 15.06% p.a., i.e. close to XIRR result, but not exactly matching given the IRR assumption that all months are of equal length.
 
Upvote 0
Stephen, yes I did calulate all that. Thanks tons.
 
Upvote 0
(1+1.1757%)^12-1 = 15.06% p.a., i.e. close to XIRR result, but not exactly matching given the IRR assumption that all months are of equal length.

That doesn't make it wrong. In fact, that might be the right thing to do. The IRR is used for two typical purposes: for comparing financial options; and for calculating the imputed interest rate. For the former, the exact percentage usually is not the determining factor. For the latter, some jurisdictions require that monthly payments be treated as occurring equally spaced; in fact, in the US, the APR is 12*IRR(...), not the compounded rate.

I, too, had thought of suggesting the use of Excel IRR, if only because it seems to be more stable than Excel XIRR.

"More stable", but not without its foibles. I believe that Excel IRR, like Excel XIRR, uses an approximation of the derivative of the NPV instead of the exact derivative, which is computable. I suspect it seems to have less of adverse impact on Excel IRR because the discount rate is compounded by integers instead of non-integers.
 
Upvote 0

Forum statistics

Threads
1,214,793
Messages
6,121,619
Members
449,039
Latest member
Mbone Mathonsi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top