Formula

  • Thread starter Thread starter Ray
  • Start date Start date
R

Ray

Hello,

Hoping someone can help.

I am trying to count the number of times a particular
text occurs in column B (such as a "Yes") if column A is
equal to a particular text.

Any help would be much appreciated

Thanks

Ray
 
=sumproduct(--(a1:a100="Ray's Text Here"),--(b1:b100="Yes"))

is one way.
 
I've always done it with separate "count" columns, ie =IF
(A1="Yes",1,0), then add up the total of the count
column. I don't know if this is the most efficient, but
it works for me. If you think the count column is ugly,
then hide it!
Merlin
 

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