Strange behaviour from XIRR

DRSteele

Well-known Member
Joined
Mar 31, 2015
Messages
2,659
Office Version
  1. 365
Platform
  1. Windows
Can someone please help me?

This template shows how XIRR yields some baffling results even when all the rules are followed for its use. Here, there is a strange inflection point where the function shows wrong results (shown in red) and right results (in green) when one value is changed slightly.

What could be happening?

MrExcel posts19.xlsx
DEFGH
2DateValue1Value2Value3Value4
34/12/2021-3,309.95-3,309.95-3,309.95-3,309.95
44/26/2021-2,249.95-2,249.95-2,249.95-2,249.95
55/25/2021-3,409.95-3,409.95-3,409.95-3,409.95
67/12/2021-1,909.95-1,909.95-1,909.95-1,909.95
78/25/2021-9,809.95-9,809.95-9,809.95-9,809.95
81/7/20221.0014,069.849014,069.8500100,000.00
9
10XIRR0.000000298%0.000000298%-53.129091989%1634.566221237%
Sheet1 (2)
Cell Formulas
RangeFormula
F3:F7F3=H3
G3:G7G3=F3
H3:H7H3=E3
E10:H10E10=XIRR(E3:E8,$D3:$D8)
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
complet logic.
You have 5 cash out's for total almost 21.000 and 1 cash income.
If that one is greater then the sum Excel can calculate a positive irr.
Otherwise it's like your money undergoes a devaluation, i don't know if that is compounded :eek:
 
Upvote 0
complet logic.
You have 5 cash out's for total almost 21.000 and 1 cash income.
If that one is greater then the sum Excel can calculate a positive irr.
Otherwise it's like your money undergoes a devaluation, i don't know if that is compounded :eek:
Thank you for contributing.

If you look closely enough, you will see that the cash flows are identical except for one: moving from cell F8 to G8 is a difference of a mere tenth of a cent. That inflection point is where the function does not work to where it does.
 
Upvote 0
Excel Formula:
=XIRR(E3:E8,$D3:$D8,IF(E8>14000,0.1,-0.3))
give excel a hand, make the last argument -0.3 (or -30%) and i goes on until -100%
fermantation.xlsm
KLMNOPQRS
1E8XIRR
2230006,68%
3227505,97%
4225005,26%
5222504,54%
6220003,82%
7217503,10%
8215002,37%
9212501,65%
10210000,91%
11207500,18%
1220500-0,56%
1320250-1,30%
1420000-2,05%
1519750-2,80%
1619500-3,55%
1719250-4,31%
1819000-5,07%
1918750-5,84%
2018500-6,60%
2118250-7,38%
2218000-8,16%
2317750-8,94%
2417500-9,72%
2517250-10,51%
2617000-11,31%
2716750-12,11%
2816500-12,91%
2916250-13,72%
3016000-14,53%
3115750-15,35%
3215500-16,17%
3315250-17,00%
3415000-17,84%
3514750-18,68%
3614500-19,52%
3714250-20,37%
3814000-21,23%
3913750-22,09%
4013500-22,96%
4113250-23,84%
4213000-24,72%
4312750-25,61%
4412500-26,50%
4512250-27,40%
4612000-28,31%
4711750-29,23%
4811500-30,15%
4911250-31,09%
5011000-32,03%
5110750-32,97%
5210500-33,93%
5310250-34,90%
5410000-35,87%
559750-36,86%
569500-37,85%
579250-38,86%
589000-39,88%
598750-40,90%
608500-41,94%
618250-42,99%
628000-44,05%
637750-45,13%
647500-46,22%
657250-47,32%
667000-48,44%
676750-49,58%
686500-50,73%
696250-51,90%
706000-53,08%
715750-54,29%
725500-55,52%
735250-56,77%
745000-58,04%
754750-59,34%
764500-60,66%
774250-62,01%
784000-63,40%
793750-64,82%
803500-66,27%
813250-67,77%
823000-69,31%
832750-70,90%
842500-72,55%
852250-74,27%
862000-76,06%
871750-77,95%
881500-79,93%
891250-82,06%
901000-84,35%
91750-86,89%
92500-89,78%
9310-0,99084
940#GETAL!
Blad1
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,201
Members
453,022
Latest member
RobertV1609

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