XMIRR Help

mayday1028

New Member
Joined
Jan 26, 2005
Messages
5
Attention Finance gurus - XMIRR Struggles

I need some help with the XMIRR function. Jay Petrulis has referenced the link below several times as a way to combine the best of the MIRR and the XIRR functions. However, when I apply it to a list of about 120 cash flows (several positive and several negative), I get a #VALUE error. BUT, when I do the F2 and F9 to see the result, the interest rate is right in the neighborhood of what I was expecting. Any ideas why I might be getting this error? I have posted the formula below where the dates are in cells b6:b128 and the values are in cells e6:e128. Thanks!
=POWER((SUM(IF(E6:E128>0,E6:E128*(POWER(1+0.05,(MAX(B6:B128)-B6:B128)/365)),0)))/(SUM(IF(E6:E128<0,E6:E128/(POWER(1+0.05,(MAX(B6:B128)-B6:B128)/365)),0)))*-1,1/((MAX(B6:B128)-MIN(B6:B128))/365))-1


BELOW is one of the posts from Jay Petrulis that I referred to above:
If you can assign dates to the flows, you can get a better option: XMIRR, a
custom function created by David Hager, found here...

http://j-walk.com/ss/excel/eee/eee017.txt

It may give an annualized result, as XIRR does, which can easily be adjusted.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

Forum statistics

Threads
1,148,393
Messages
5,746,438
Members
424,019
Latest member
dpteo

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
Top