I use the XIRR formula as follows:
=XIRR(E$11:E17,B$11:B17)
but you must add an additional non-contiguous cell to the range of values ββand dates.
My first attempt:
=XIRR((E$11:E17,H17),(B$11:B17,B17))
led to #VALUE
I tried to do this using the CHOOSE function as follows:
=XIRR(CHOOSE({1,2},E$11:E17,H17),CHOOSE({1,2},B$11:B17,B17))
But this does not work to get the right results.
I can't figure out how to add one cell to the end of the range. The following worked to give the correct results, but will not work for me, since I need to use a range and a single cell, and not all separate cells
=XIRR(CHOOSE({1,2,3},E11,E12,H13),CHOOSE({1,2,3},B11,B12,B13))
Thank you for your help.