Count or Sumif formula

  • Thread starter Thread starter Jeremy
  • Start date Start date
J

Jeremy

How would I write a formula for the example below

a b
1 m scaf
2 b scaf
3 b scaf
4 b lab

I am wanting to create a count if to where I am counting the b's in a that
have scaf. The answer should be 2.

Thank you
Jeremy
 
=SUMPRODUCT(--(A2:A10="b"),--(B2:B10="scaf"))


--


Regards,


Peo Sjoblom
 

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