Hi,
There is something wrong with your formula, but I'm not sure what it is because I don't understand exactly what you are attempting to calculate. So I have 2 suggestions which may (hopefully) get you on your way:
1. Change the formula in DH10 to
Formula:
=SUMPRODUCT(($D$6:$BX$6=DH$6)*($D10:$BX10)*($D$9:$BX$9))/SUMIFS($D$9:$BX$9,$D$6:$BX$6,DH$6,$D$10:$BX$10,">0")
This gives an average of $188.29.
2. Change the formula in DH10 to
Formula:
=SUMPRODUCT(($D$6:$BX$6=DH$6)*($D11:$BX11)*($D$9:$BX$9))/SUMIFS($D$9:$BX$9,$D$6:$BX$6,DH$6)
This gives an average of $210.03.
I hope one of these is the solution that you are looking for
Bookmarks