I've tried this several different ways. A formula written as;
=SUMPRODUCT(($B$5:$B$10="Apple")*(C5:C10<>"-"))
Returns the count of cells in the range with the name Apple and not equal to-
So in the image below, in column C, there are no cells with a numerical value, so the count is returned as 1, where i want the sum to be 6
untitled.JPG
Ive also tried
=SUMPRODUCT(($B$5:$B$10="Apple")*--(C5:C10<>"-"))
but get the same result.
Any ideas?
Bookmarks