#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Counting

I have a worksheet with a column of names. Some names are listed many times
and some just once. I need to count each name just one time. Is there a
function for this?
--
Punkster
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Counting

One fast way - create a pivot with the col header placed in both the ROW and
DATA areas. The pivot will return both the list of unique names (that you
seek) & the corresponding counts
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"punkster" wrote:
I have a worksheet with a column of names. Some names are listed many times
and some just once. I need to count each name just one time. Is there a
function for this?
--
Punkster

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Counting

Do you have a list of names already? If not, you can extract them with
Data/Filter/Advanced Filter (select Copy to Another Location, select
your list as the List Range, select a Copy to location for the
resulting list, and check Unique Records Only)

Once the names are listed, use this function to count them (pretending
that the list is in B3:B500 and the name to find is in D3):
=COUNTIF($B$3:$B$500,D3)

On May 12, 5:21 pm, punkster
wrote:
I have a worksheet with a column of names. Some names are listed many times
and some just once. I need to count each name just one time. Is there a
function for this?
--
Punkster


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Counting

Max: I'm afraid I don't know how to create or use a pivot table. Is there
an easy way to tell me what to do?

Reitanos: This works but just for one name at a time. This table has 3838
rows with probably 100 people. Can it be changed to count all the unique
names?

Thank you for your help.
--
Punkster


"Max" wrote:

One fast way - create a pivot with the col header placed in both the ROW and
DATA areas. The pivot will return both the list of unique names (that you
seek) & the corresponding counts
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"punkster" wrote:
I have a worksheet with a column of names. Some names are listed many times
and some just once. I need to count each name just one time. Is there a
function for this?
--
Punkster

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Counting

"punkster" wrote:
Max: I'm afraid I don't know how to create or use a pivot table. Is there
an easy way to tell me what to do?


Some easy steps to lead you in (xl2003)
Suppose the col header for the names col is: xxx
Select the col, click Data Pivot table
Click Next Next
In step 3, click Layout
Drag n drop "xxx" in ROW area
Drag n drop "xxx" in DATA area
(it'll appear as "Count of xxx")
Click OK Finish. That's it!

Hop over to the pivot sheet (just to the left)
where you'd find both the list of unique names (that you seek)
& the corresponding counts.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

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
counting function but not double counting duplicates JRD Excel Worksheet Functions 2 November 7th 07 06:43 PM
Counting fomula problems Excel Worksheet Functions 4 June 25th 06 11:13 PM
counting chiapas77 Excel Discussion (Misc queries) 1 March 3rd 06 10:19 PM
Counting rows, then counting values. Michael via OfficeKB.com Excel Discussion (Misc queries) 7 August 4th 05 10:57 PM
Counting names in a column but counting duplicate names once TBoe Excel Discussion (Misc queries) 9 May 11th 05 11:24 PM


All times are GMT +1. The time now is 06:15 PM.

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

About Us

"It's about Microsoft Excel"