count of word occurence

G

gururajv

Hi,
this may be pretty simple, but since i'm very new to excel.. here
goes...

i need to find out the number of times a word occurs in a column
of data.. say.,


AA
BB
CC
DD
BB
EE
BB


i need to count the number of times BB occurs in the column..
 
P

Peo Sjoblom

If the data is the way as in your description than you could use

=COUNTIF(MyRange,"BB")

or

=COUNTIF(MyRange,cell_ref)

where cell_ref is the cell where you put the criteria.

Now if the words are not alone in the cells you would need

=COUNTIF(MyRange,"*BB*")
 
I

immanuel

Try using COUNTIF(). For example, if your data is in A1:A7, use the
following:

=COUNTIF(A1:A7,"BB")

/i.
 

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