ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to count... (https://www.excelbanter.com/excel-worksheet-functions/193969-how-count.html)

Briana

How to count...
 
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?

Rick Rothstein \(MVP - VB\)[_840_]

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?



Pete_UK

How to count...
 
Check out your other post - no need to multi-post.

Pete

"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?





All times are GMT +1. The time now is 10:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com