conditional counting question

A

Alex

Is it possible to count cells based on if they contain a
certain letter, such as "r" or "s", does not need to be
case sensitive but cells will contain other numbers.

Thanks in advance.
 
A

A.W.J. Ales

Alex,
Try =COUNTIF(Range,"*r*")

--
Regards,
Auk Ales

* Please reply to this newsgroup only *
* I will not react on unsolicited e-mails *
 
J

Jason Morin

=COUNTIF(A:A,"*r*")

or for two:

=SUM(COUNTIF(A:A,{"*r*","*s*"}))

Note that if a cell contains an "r" AND an "s", then it
will be counted twice.

HTH
Jason
Atlanta, Ga
 
A

Alex

THANKS A TON EVERYONE
-----Original Message-----
Alex,
Try =COUNTIF(Range,"*r*")

--
Regards,
Auk Ales

* Please reply to this newsgroup only *
* I will not react on unsolicited e-mails *




.
 

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

Top