conditional counting question

  • Thread starter Thread starter Alex
  • Start date Start date
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.
 
Alex,
Try =COUNTIF(Range,"*r*")

--
Regards,
Auk Ales

* Please reply to this newsgroup only *
* I will not react on unsolicited e-mails *
 
=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
 
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 *




.
 
Back
Top