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

Hi
I would like to know if it's possible to change RANK so that it doesn't
increment if it finds duplicates, ie, all the duplicate highest ranks are 1 ,
then no matter how matter how many there are all the next highest numbers
will be 2, etc.
Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Ranking query

Hi

with your numbers in column A1 down put this in b1 and asjust the a100 to
the length of your range and drag down

=SUMPRODUCT(--(A1A$1:A$100),1/COUNTIF(A$1:A$100,A$1:A$100&""))+1

Mike

"Marie Bayes" wrote:

Hi
I would like to know if it's possible to change RANK so that it doesn't
increment if it finds duplicates, ie, all the duplicate highest ranks are 1 ,
then no matter how matter how many there are all the next highest numbers
will be 2, etc.
Thank you

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

Hi Mike H

That's great thanks, I just swapped the for a < to get my ranking in the
right order, but it's working - thanks again.
--
Marie Bayes


"Mike H" wrote:

Hi

with your numbers in column A1 down put this in b1 and asjust the a100 to
the length of your range and drag down

=SUMPRODUCT(--(A1A$1:A$100),1/COUNTIF(A$1:A$100,A$1:A$100&""))+1

Mike

"Marie Bayes" wrote:

Hi
I would like to know if it's possible to change RANK so that it doesn't
increment if it finds duplicates, ie, all the duplicate highest ranks are 1 ,
then no matter how matter how many there are all the next highest numbers
will be 2, etc.
Thank you

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
Importing Data via Web Query - Can values be passed to query? [email protected] Excel Discussion (Misc queries) 5 May 9th 06 06:21 PM
ranking query JaimeTimbrell Excel Discussion (Misc queries) 2 February 16th 06 08:09 AM
Anyone Else Use Database Query to Query Another Sheet in the Same Excel Workbook? jocke Excel Discussion (Misc queries) 0 November 28th 05 06:37 PM
Microsoft Query rejects "nz" function in Access Query Vaughan Excel Discussion (Misc queries) 0 May 4th 05 05:20 PM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM


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