Should I be using IF to find how many times a word occurs in a ran

R

ruthie_toothy

Hi

I have an area B3:AF78 and I need to know how many times the word "Ruth"
appears within this range. Each cell only contains one name. I will need
this formula for a number of names within the range. I tried this formula
but it didnt work and I think I may be using the wrong formula completely.
Can anyone help at all.

=IF(B3:AF78="Ruth",1,0)

Many thanks
Ruth
 
R

Roger Govier

Hi Ruth

=COUNTIF($B$3:$AF$78,"Ruth")

If you are wanting to count several names, better to put the names in a cell
e.g. AG1, then use

=COUNTIF($B$3:$AF$78,AG1)
If you put other names in AG2, Ag3 etc, you can then just copy the formula
down.
--
Regards
Roger Govier

ruthie_toothy said:
Hi

I have an area B3:AF78 and I need to know how many times the word "Ruth"
appears within this range. Each cell only contains one name. I will need
this formula for a number of names within the range. I tried this formula
but it didnt work and I think I may be using the wrong formula completely.
Can anyone help at all.

=IF(B3:AF78="Ruth",1,0)

Many thanks
Ruth

__________ Information from ESET Smart Security, version of virus
signature database 4245 (20090715) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature database 4245 (20090715) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 
R

ruthie_toothy

Thank you all so much - that is perfect - just what I needed. I am over the
moon!
 

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