How to count...

B

Briana

I have a column that looks a lot like this

ni
ni
na
out
cb
out
na
na
am
out
ni

Now I want excel to count how many of each code are in this selection.

So how do I do it?
 
R

Rick Rothstein \(MVP - VB\)

Assuming that column is B and your data starts in Row 2, you can count any
of your codes using the COUNTIF function. What do you mean by "this
selection"... a range of cells? If so, then, for example...

=COUNTIF(A1:A100,"na")

will shown the count of "na" codes occurring in the range A1:A100.

Rick
 

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