Here is the formula as I have it typed in now. It returns a #VALUE! error. The problem is with the 2nd SUMPRODUCT - it doesn't seem to want to use multiple ranges.
=IF(SUMPRODUCT(--(F666:I666>0),F39:I39)>0,SUMPRODUCT((F39:I39,K39:M39,O39:Q39,S39:U39),(F666:I666,K666:M666,O666:Q666,S666:U666))/SUMPRODUCT(--(F666:I666>0),F39:I39),0)
What I want the 2nd SUMPRODUCT to do is F39*F666...I39*I666+K39*K666..M39*M666+O39*O666.........
Tired separating the different "sub"ranges with semicolons, but excel changes them to colons, and then it errors out. I'd rather not use 4 separate SUMPRODUCT formulas, as I'm going to be using this many times in the worksheet.
Suggestions?
Thanks,
Lisa
=IF(SUMPRODUCT(--(F666:I666>0),F39:I39)>0,SUMPRODUCT((F39:I39,K39:M39,O39:Q39,S39:U39),(F666:I666,K666:M666,O666:Q666,S666:U666))/SUMPRODUCT(--(F666:I666>0),F39:I39),0)
What I want the 2nd SUMPRODUCT to do is F39*F666...I39*I666+K39*K666..M39*M666+O39*O666.........
Tired separating the different "sub"ranges with semicolons, but excel changes them to colons, and then it errors out. I'd rather not use 4 separate SUMPRODUCT formulas, as I'm going to be using this many times in the worksheet.
Suggestions?
Thanks,
Lisa