#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Ranking

How do I obtain a ranking in excel from a lits of numbers based on the
frequency with which the numbers show up?
ie) list of numbers: 6,5,2,2,8,4,2,0,3,3,7,3,8,3,8,3
Rank: 1. #3
2. #2 &#8
3. #0,4,5,6,7
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Ranking

Look at the FREQUENCY function. You have to specify the data array and bins
array.

Dave
--
Brevity is the soul of wit.


"linzi00" wrote:

How do I obtain a ranking in excel from a lits of numbers based on the
frequency with which the numbers show up?
ie) list of numbers: 6,5,2,2,8,4,2,0,3,3,7,3,8,3,8,3
Rank: 1. #3
2. #2 &#8
3. #0,4,5,6,7

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 256
Default Ranking

Assuming that A2:A17 contains the data, try the following...

B2, copied down:

=IF(ISNA(MATCH(A2,$A$1:A1,0)),COUNTIF($A$2:$A$17,A 2),"")

C2, copied down:

=IF(N(B2),SUM(IF($B$2:$B$17<"",IF(B2<$B$2:$B$17,1/COUNTIF($B$2:$B$17,$B$
2:$B$17))))+1,"")

....confirmed with CONTROL+SHIFT+ENTER

Let E2:E4 contain 1, 2, and 3

F2, copied across and down:

=IF(COLUMNS($F2:F2)<=COUNTIF($C$2:$C$17,$E2),SMALL (IF($C$2:$C$17=$E2,$A$2
:$A$17),COLUMNS($F2:F2)),"")

....confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!

In article ,
linzi00 wrote:

How do I obtain a ranking in excel from a lits of numbers based on the
frequency with which the numbers show up?
ie) list of numbers: 6,5,2,2,8,4,2,0,3,3,7,3,8,3,8,3
Rank: 1. #3
2. #2 &#8
3. #0,4,5,6,7

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
Ranking a List which must be within GROUPS Gary Jordan Excel Discussion (Misc queries) 0 May 24th 06 02:06 PM
Ranking based on two columns sa02000 Excel Worksheet Functions 2 April 17th 06 06:10 PM
ranking with some blank spaces LRR via OfficeKB.com Excel Worksheet Functions 7 April 16th 06 03:04 PM
Comparing ranking pytelium Excel Discussion (Misc queries) 1 January 4th 06 08:24 PM
Ranking Using Grand Total nostalgie Excel Discussion (Misc queries) 0 April 9th 05 03:27 PM


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