Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dallyup2
 
Posts: n/a
Default How do I count different names in a colum ie: 4 mikes 3 toms

I am trying to add name in a colum. ie., 4 Mikes, 3 Toms, 8 Diane. Is there a
way to do this?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default How do I count different names in a colum ie: 4 mikes 3 toms

One way

Assume data is in A1 down, e.g.:

Mike T
Diane P
Tom P
Mike P
Tom J
Mike L
Diane M
etc

List the names in say, C1:C3 : Mike, Diane, Tom

Put in D1:
=SUMPRODUCT(--(ISNUMBER(SEARCH(C1,A1:A100))))
Copy down

Col D will return the required counts
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"dallyup2" wrote in message
...
I am trying to add name in a colum. ie., 4 Mikes, 3 Toms, 8 Diane. Is

there a
way to do this?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
JE McGimpsey
 
Posts: n/a
Default How do I count different names in a colum ie: 4 mikes 3 toms

One way is to use a pivot table:

http://peltiertech.com/Excel/Pivots/pivotstart.htm

In article ,
"dallyup2" wrote:

I am trying to add name in a colum. ie., 4 Mikes, 3 Toms, 8 Diane. Is there a
way to do this?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default How do I count different names in a colum ie: 4 mikes 3 toms

As described, I had assumed that the cells in col A would contain more stuff
(e.g. other text) than just the names: Mike, Diane, Tom
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


  #5   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default How do I count different names in a colum ie: 4 mikes 3 toms

Oops, sorry .. Just realized that I had missed out
fixing the arbitrary range A1:A100

The formula in D1 should be:
=SUMPRODUCT(--(ISNUMBER(SEARCH(C1,$A$1:$A$100))))
Copy D1 down

Adjust the range A1:A100 to suit ..
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count names in column once Lorraine Excel Worksheet Functions 3 September 29th 05 08:27 PM
Combine query to count products with similar names pomalley Excel Worksheet Functions 8 April 22nd 05 02:15 AM
Formula for a count of names? Alesha Excel Discussion (Misc queries) 2 February 23rd 05 12:12 AM
how can I count distinct names in an excel list? RPC@Frito Excel Discussion (Misc queries) 5 February 3rd 05 09:12 PM
Count Unique Names in list w/ Additional Criteria? Nodak Excel Worksheet Functions 1 January 25th 05 11:15 PM


All times are GMT +1. The time now is 11:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"