Hi
I have a SUMPRODUCT formula that works fine, but when I try to extend the range of the formula, it returns a #VALUE! error.
It's a fairly simple formula: basically, depending on whether the user selects Previous, Current or Next year from a dropdown, it returns costs in 3 columns for a given product. It looks like this (this one works):
=SUMPRODUCT((G$10:G$75=RN1550)*IFS(PnL_CustFY1="Prev", QX$10:QZ$75, PnL_CustFY1="Curr", RD$10:RF$75, TRUE, RJ$10:RL$75))
This one fails:
=SUMPRODUCT((G$9:G$75=RN1550)*IFS(PnL_CustFY1="Prev", QX$9:QZ$75, PnL_CustFY1="Curr", RD$9:RF$75, TRUE, RJ$9:RL$75))
Because I'm also using VBA code to insert rows, I want the formula to look at the range from one row higher, so that if a row is inserted in the first row, formulas don't need to be adjusted. I've done similar with other formulas, that work fine, but this
one just won't work for me.
Row 9 includes column headers (text only)
Any suggestions appreciated...
Paul