ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Counting Names in a List (https://www.excelbanter.com/excel-discussion-misc-queries/127119-counting-names-list.html)

ChemicalJasper

Counting Names in a List
 
Is it possible to count the Names and occurances of the names in a
list, to produce a separate summary?

I have a long list of names (not from a fixed list, the names may be
transient, so I cannot count by an " If ='s " argument), most of which
appear numerous times on the list.

I would like to produce a shortend list of all the names that appear in
the list and if they occur multiple times, display it as a single name
with a occurance number next to it.

eg.

Fred
Joe
Joe
Bob
Paul
Fred
Joe

would become,

Fred 2
Joe 3
Bob 1
Paul 1

Any one got any ideas please?


Don Guillett

Counting Names in a List
 
One way
place cursor on title of list such as a1datafilteradvanced filterunique
recordsat the first one =countif(a:a,a2)copy downdatafiltershowall

--
Don Guillett
SalesAid Software

"ChemicalJasper" wrote in message
oups.com...
Is it possible to count the Names and occurances of the names in a
list, to produce a separate summary?

I have a long list of names (not from a fixed list, the names may be
transient, so I cannot count by an " If ='s " argument), most of which
appear numerous times on the list.

I would like to produce a shortend list of all the names that appear in
the list and if they occur multiple times, display it as a single name
with a occurance number next to it.

eg.

Fred
Joe
Joe
Bob
Paul
Fred
Joe

would become,

Fred 2
Joe 3
Bob 1
Paul 1

Any one got any ideas please?





All times are GMT +1. The time now is 07:09 PM.

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