Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Find the top five in list

I have a list of 135 text entries, some of which duplicate. My goal
is to find the most often used entry. For example: Lets say I have a
list:

Apple, Apple, Apple, Orange, Orange, Grape

I want excel to tell me that Apple is the most often found entry,
followed by Orange, and lastly Grape.

Any suggestions???? This is kinda like finding the mode of numerical
values but I want to find the top five or so entries.

Thanks,

Brandon

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Find the top five in list

You could use =COUNTIF() formulas, but if you have a very long list a Pivot
Table is easier to construct:

1. Put your list in a column of cells starting with row#2, for example A2
thru A100
2. Put a label in A1

You can make a Pivot Table list each item with the count of the number of
times it appears in the list.


See:


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

--
Gary''s Student - gsnu200715


"Brandon G." wrote:

I have a list of 135 text entries, some of which duplicate. My goal
is to find the most often used entry. For example: Lets say I have a
list:

Apple, Apple, Apple, Orange, Orange, Grape

I want excel to tell me that Apple is the most often found entry,
followed by Orange, and lastly Grape.

Any suggestions???? This is kinda like finding the mode of numerical
values but I want to find the top five or so entries.

Thanks,

Brandon


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Find the top five in list

Here's the easiest way:

Assume your data is in the range A2:A20

Enter this formula in B2 and copy down to B20:

=IF(COUNTIF(A$2:A2,A2)1,0,COUNTIF(A$2:A$20,A2)-ROW()/10^10)

To extract the most frequent entries enter this formula somewhere, say, E2:

=IF(ROWS($1:1)<=COUNTIF(B$2:B$20,"0"),INDEX(A$2:A $20,MATCH(LARGE(B$2:B$20,ROWS($1:1)),B$2:B$20,0)), "")

Copy down as needed or until you get blanks meaning the data has been
exhausted.

Biff

"Brandon G." wrote in message
oups.com...
I have a list of 135 text entries, some of which duplicate. My goal
is to find the most often used entry. For example: Lets say I have a
list:

Apple, Apple, Apple, Orange, Orange, Grape

I want excel to tell me that Apple is the most often found entry,
followed by Orange, and lastly Grape.

Any suggestions???? This is kinda like finding the mode of numerical
values but I want to find the top five or so entries.

Thanks,

Brandon



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
find last value in list IvanM Excel Worksheet Functions 8 October 16th 06 03:46 AM
How to find a find a list of possible inputs to sum a known amt? JimBunch Excel Discussion (Misc queries) 2 February 18th 06 05:17 PM
Find all from a list vanjan Excel Discussion (Misc queries) 1 September 28th 05 04:10 PM
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 Ed Excel Worksheet Functions 5 September 12th 05 09:48 AM
find names on list 1 in list 2. list 1 4000 names list 2 400 name Ed Excel Worksheet Functions 1 September 4th 05 12:48 AM


All times are GMT +1. The time now is 04:29 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"