View Single Post
  #3   Report Post  
bj
 
Posts: n/a
Default

try
=sumproduct(--(A1:Z1="value a"),--(A2:Z2<""))
assuming you want rows checked

"Michele" wrote:

I am trying to write a formula to return a count if cell a1 equals "value a"
and cell a2 is not blank. I have tried various combinations of countif,
if(and..., counta, and count formulas with no success! Can anyone assist me
with creating a formula?

Thanks-
Michele