Column A has Apples
,Oranges
, Pears
multiple times.
Column B has the count
against them (note, some of these may be blank).
I'm looking for a formula to count just Apples
and Oranges
where their count
is neither blank nor 0
.
I tried the formula below, but I get the count of Apples
only:
=COUNTIFS(A1:A21,{"Apples","Oranges"},B1:B21,">0")