View Single Post
  #4   Report Post  
Domenic
 
Posts: n/a
Default countif condition problem

....but as Bob has shown, it does accept whole row references. Also, I
should have included a third argument, like Bob did, to deal with blank
cells.

In article ,
Domenic wrote:

Try...

=SUMPRODUCT(--(A1:K1=1),--(A2:K2=0))

Note that SUMPRODUCT does not accept whole column references.

Hope this helps!