Hi,
I have a set of data with portfolio ID, cashflow amount and cashflow date. I am looking for an array formula that will calculate the IRR using the XIRR formula for each unique portfolio ID.
Example of the data set (the real dataset has 16000 lines:
The output required (the real output has 5000 Portfolio IDs):
Thanks for your help
Jim
I have a set of data with portfolio ID, cashflow amount and cashflow date. I am looking for an array formula that will calculate the IRR using the XIRR formula for each unique portfolio ID.
Example of the data set (the real dataset has 16000 lines:
Portfolio ID | Cashflow | Cashflow Date |
10003487-001 | -19749.34 | 1/07/2020 |
10003487-001 | 19442.33 | 30/06/2021 |
10005198-001 | -124527.56 | 1/07/2020 |
10005198-001 | 132226.3 | 30/06/2021 |
10006333-001 | -99252.82 | 1/07/2020 |
10006333-001 | 113157.21 | 30/06/2021 |
10012418-001 | -407347.17 | 1/07/2020 |
10012418-001 | 15000 | 28/01/2021 |
10012418-001 | 7000 | 11/06/2021 |
10012418-001 | 466808.63 | 30/06/2021 |
The output required (the real output has 5000 Portfolio IDs):
Portfolio ID | IRR |
10003487-001 | -2% |
10005198-001 | 6% |
10006333-001 | 14% |
10012418-001 | 20.37% |
Thanks for your help
Jim