XIRR while ignoring one investment?

skitheast13

New Member
Joined
Jan 20, 2023
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hello,

I am attempting to calculate the IRR of a portfolio of investments while excluding just one of the investments.
I successfully used the 365 filter function to calculate the IRR of a particular investment in the portfolio - now, how can I exclude that same investment while calculating the whole portfolio IRR?

To note, each of the dates/cash flows have an investment name attached.

IRR Calc.xlsx
ABCDEF
1Investment NameDate Cash Flow Investment NameIRR
2Gravity5/25/2022(402,435.52)Gravity108.20%
3Gravity5/25/2022(21,858,724.39)
4Gravity8/10/2022292,481.52Whole Portfolio38.65%
5Gravity8/10/20221,318.10Whole Portfolio EXCLUDING Gravity?
6Gravity9/30/202228,464,149.00
7Shipment12/31/2021(345,389.31)
8Shipment12/31/2021(10,067,597.81)
9Shipment6/22/2022(2,378,468.50)
10Shipment6/22/2022(528,526.58)
11Shipment8/2/2022(513,480.21)
12Shipment9/30/202215,928,116.62
13Jewel8/10/2021(2,301,517.36)
14Jewel5/24/2022(13,712,117.63)
15Jewel9/30/202217,496,746.00
16Galmour7/5/2022(44,101.00)
17Galmour7/5/2022(48,142.00)
18Galmour7/5/2022(30,181,828.00)
19Galmour9/14/2022296,308.00
20Galmour9/30/202233,085,800.00
21Finland3/22/2022(6,487,672.48)
22Finland3/22/2022(50,350.80)
23Finland3/22/2022(109,519.79)
24Finland3/22/2022(19,183.22)
25Finland3/22/2022(41,726.10)
26Finland3/22/2022(2,471,747.21)
27Finland5/5/2022(104,055.30)
28Finland5/5/2022(39,666.41)
29Finland9/20/2022(37,233.04)
30Finland9/20/2022(22,538.42)
31Finland9/20/2022(14,195.21)
32Finland9/20/2022(8,592.83)
33Finland9/30/20229,004,982.71
34
Sheet1
Cell Formulas
RangeFormula
F2F2=XIRR(FILTER($C$1:$C$33,$A$1:$A$33=E2),FILTER($B$1:$B$33,$A$1:$A$33=E2))
F4F4=XIRR(C2:C33,B2:B33)
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Welcome to the Forum.

If you wish to exclude only one criteria like "Gravity" you can just use FILTER with a 'does not equal' operator. Like:

=XIRR(FILTER(C2:C33,A2:A33<>E2),FILTER(B2:B33,A2:A33<>E2))
 
Upvote 0
Solution
Welcome to the Forum.

If you wish to exclude only one criteria like "Gravity" you can just use FILTER with a 'does not equal' operator. Like:

=XIRR(FILTER(C2:C33,A2:A33<>E2),FILTER(B2:B33,A2:A33<>E2))
This was the perfect solution - thank you for your help!
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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