HI I have the following formulas which do the same thing:
=SUMPRODUCT(--($H$21:$H$22=$C$9),--($C$21:$C$22=$C$11),$K$21:$K$22)
=SUMPRODUCT(--($C$9=$H$21:$H$22),($C$11=$C$21:$C$22)*($K$21:$K$22))
The fields all correspond with cells which have values and it is working perfectly until I increase the column sizes from H22 to H23 and beyond, or C22 to C23..., or K22 to K23...
The cells that are now encompassed have blanks within the range.
How can I get this to work ignoring the blank cell values?
The blank cells have corresponding validation lists attached to them - will that make a difference and how do I remedy if that is the case?
Many thanks
Hannah
=SUMPRODUCT(--($H$21:$H$22=$C$9),--($C$21:$C$22=$C$11),$K$21:$K$22)
=SUMPRODUCT(--($C$9=$H$21:$H$22),($C$11=$C$21:$C$22)*($K$21:$K$22))
The fields all correspond with cells which have values and it is working perfectly until I increase the column sizes from H22 to H23 and beyond, or C22 to C23..., or K22 to K23...
The cells that are now encompassed have blanks within the range.
How can I get this to work ignoring the blank cell values?
The blank cells have corresponding validation lists attached to them - will that make a difference and how do I remedy if that is the case?
Many thanks
Hannah