Hello,
I'm looking use the product function in lieu of the below =SUM function, using the XLOOKUPs. Here is the function that works when summing the values:
=SUM(XLOOKUP(K19,$C$15:$C$214,$D$15:$D$214) :XLOOKUP(K20,$C$15:$C$214,D15:D214))
However the data I am working with are portfolio performance returns, and I typically use the below function to link the returns for a 12 month period: (using the Array brackets):
{=PRODUCT(1+D162:D173)-1}
If I simply try to replace 'PRODUCT' in lieu of 'SUM' in first formula (with normal 1+ and array brackets, the formula chokes.
I have a list of monthly returns from 2006, and would like the user to enter an month-end date in a cell, using +EOMONTH AND =XOOKUP formulas to find 12 months prior, link those 12 returns to month-end date.
Any advice would be much appreciated - thank you!
I'm looking use the product function in lieu of the below =SUM function, using the XLOOKUPs. Here is the function that works when summing the values:
=SUM(XLOOKUP(K19,$C$15:$C$214,$D$15:$D$214) :XLOOKUP(K20,$C$15:$C$214,D15:D214))
However the data I am working with are portfolio performance returns, and I typically use the below function to link the returns for a 12 month period: (using the Array brackets):
{=PRODUCT(1+D162:D173)-1}
If I simply try to replace 'PRODUCT' in lieu of 'SUM' in first formula (with normal 1+ and array brackets, the formula chokes.
I have a list of monthly returns from 2006, and would like the user to enter an month-end date in a cell, using +EOMONTH AND =XOOKUP formulas to find 12 months prior, link those 12 returns to month-end date.
Any advice would be much appreciated - thank you!