Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default RANKING WHEN THERE ARE 2 SAME NUMBERS

I have a list of clients with their corresponding amount outstanding.
I want to rank them;
Then use lookup with cells containing 1-10 so as to list the top 10 clients;
Only problem is that when the 7th and the 8th values are same both are
ranked 7;
Finally #N/A appears in the vlookup for "8"?

Anyway, how to overcome this?

--

Best Regards,
FARAZ A. QURESHI
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 229
Default RANKING WHEN THERE ARE 2 SAME NUMBERS

Data in column A
=SUMPRODUCT(--(a1<$a$1:$a$10),1/COUNTIF($a$1:$a$10,$a$a:$a$10&""))+1
Modify the range suits to your data

Best wishes
Sreedhar
"FARAZ QURESHI" wrote:

I have a list of clients with their corresponding amount outstanding.
I want to rank them;
Then use lookup with cells containing 1-10 so as to list the top 10 clients;
Only problem is that when the 7th and the 8th values are same both are
ranked 7;
Finally #N/A appears in the vlookup for "8"?

Anyway, how to overcome this?

--

Best Regards,
FARAZ A. QURESHI

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default RANKING WHEN THERE ARE 2 SAME NUMBERS

The problem with top n lists where there can be ties is that a top 10 isn't
limited to just 10 items. A top 10 can be almost any number =10 depending
on the distribution of the ties. A top 10 could actually be 15, 20, ????.
For example, suppose you want the top 3 (highest) from this list:

10
10
7
7
7
5
5
2

How many comprise the top 3?

It depends on what *your* definition of top 3 is. The top 3 could be either:

10,10,7,7,7

Or, it could be:

10,10,7,7,7,5,5

--
Biff
Microsoft Excel MVP


"FARAZ QURESHI" wrote in message
...
I have a list of clients with their corresponding amount outstanding.
I want to rank them;
Then use lookup with cells containing 1-10 so as to list the top 10
clients;
Only problem is that when the 7th and the 8th values are same both are
ranked 7;
Finally #N/A appears in the vlookup for "8"?

Anyway, how to overcome this?

--

Best Regards,
FARAZ A. QURESHI



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 numbers Joff Excel Discussion (Misc queries) 5 August 17th 07 10:53 PM
Ranking numbers Toppers Excel Discussion (Misc queries) 0 August 17th 07 01:47 AM
ranking a colum of numbers Genchaos Excel Worksheet Functions 4 June 4th 06 11:28 PM
Numbers used for Ranking Lowkey Excel Worksheet Functions 4 May 27th 05 11:26 PM
Problem with ranking numbers Pati M Excel Worksheet Functions 1 November 23rd 04 11:29 PM


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