Using Countif on multiple columns

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Why doesn't the following formula work? =count(if(k2:k20,"1",j2:j20,"<40"))
 
ingeman said:
Why doesn't the following formula work?
=count(if(k2:k20,"1",j2:j20,"<40"))

Try this:

=SUMPRODUCT(--(K2:K20=1),--(J2:J20<40))

Biff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top