Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 143
Default Count the number of times a name occurs in a column

Hi All,

I have a data in thousands of rows......and one name is repeated several
times..now I want to count the number of times a name appears and also I
need to find the top three name that occur maximum number of times.

Please Help
Thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 594
Default Count the number of times a name occurs in a column

Check out the Data Subtotals......follow the menus.......should be of some
help

hth
Vaya con Dios,
Chuck, CABGx3



"Gary" wrote in message
...
Hi All,

I have a data in thousands of rows......and one name is repeated several
times..now I want to count the number of times a name appears and also I
need to find the top three name that occur maximum number of times.

Please Help
Thanks




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Count the number of times a name occurs in a column

=COUNTIF(A2:A5000,"Name")

or

=COUNTIF(A2:A5000,"*Name*")

if there are other text in the same cells

I would extract all unique names first by selecting the names,
do datafilteradvanced filter, select copy to another location
and unique records

then if you extracted the names to H2:H50, in an adjacent cell lik
I2 put

=COUNTIF($A$2:$A$5000,H2)


copy down to I50, then
sort on the help column descending, the top 3 would be the first 3

OR use a pivot table, select the data, do datapivot table and pivot
chart report, click next and select layout, drag the names header to the
data and the row, then click finish, then right click in the pivot
table, select field settings and advanced, select top 10 autoshow,
change it to top 3 and click OK twice



Regards,

Peo Sjoblom



Gary wrote:
Hi All,

I have a data in thousands of rows......and one name is repeated several
times..now I want to count the number of times a name appears and also I
need to find the top three name that occur maximum number of times.

Please Help
Thanks


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 the number of rows where more than one column meets set crit BarrieVoice Excel Worksheet Functions 2 July 14th 06 07:25 PM
Column picked randomly with probability relative to number of entr Neil Goldwasser Excel Worksheet Functions 4 May 30th 06 08:55 AM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
how do I count the number of times text in column A matches text i Sheila Excel Worksheet Functions 2 November 16th 05 10:20 PM
How to count the number of times something occurs within a certain month Joyce Excel Worksheet Functions 1 October 18th 05 06:11 PM


All times are GMT +1. The time now is 07:51 AM.

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"