Thread: How to count...
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rick Rothstein \(MVP - VB\)[_840_] Rick Rothstein \(MVP - VB\)[_840_] is offline
external usenet poster
 
Posts: 1
Default How to count...

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

"Briana" wrote in message
...
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?