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

.. "I'm trying to use the RANK function to sort the values in Column A, but,
the problem arises when I have two or more cells with the same value. Then,
the RANK also repeats some positions. For example, if I have, 50, 60, 62, 62,
67 in Column A I would get 5,4,2,2,1 in Column B. Is there a way I can get
5,4,2.5,2.5,1 ?"
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default rank

Let's assume that you have n rows of data in column A beginning in A1 and you
want to rank in column B each value in column A from lowest to highest,
highest being ranked first. Enter this formula in B1:

=RANK(A1,$A$1:$A$n,0)+0.5*COUNTIF($A$1:$A$n,A1)-0.5

Make sure you replace the "n" with the number of rows in your series.


"drofdel" wrote:

. "I'm trying to use the RANK function to sort the values in Column A, but,
the problem arises when I have two or more cells with the same value. Then,
the RANK also repeats some positions. For example, if I have, 50, 60, 62, 62,
67 in Column A I would get 5,4,2,2,1 in Column B. Is there a way I can get
5,4,2.5,2.5,1 ?"

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

Thank You....it works.

"MrAcquire" wrote:

Let's assume that you have n rows of data in column A beginning in A1 and you
want to rank in column B each value in column A from lowest to highest,
highest being ranked first. Enter this formula in B1:

=RANK(A1,$A$1:$A$n,0)+0.5*COUNTIF($A$1:$A$n,A1)-0.5

Make sure you replace the "n" with the number of rows in your series.


"drofdel" wrote:

. "I'm trying to use the RANK function to sort the values in Column A, but,
the problem arises when I have two or more cells with the same value. Then,
the RANK also repeats some positions. For example, if I have, 50, 60, 62, 62,
67 in Column A I would get 5,4,2,2,1 in Column B. Is there a way I can get
5,4,2.5,2.5,1 ?"

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
RANK, duplicate ranking but no gaps in rank arron laing Excel Worksheet Functions 4 June 14th 06 07:57 AM
Rank(A1,C1:C5) - Rank using 2 ranges goofy11 Excel Worksheet Functions 3 June 9th 06 06:03 AM
Rank where lowest value is highest rank mile3024 Excel Worksheet Functions 2 December 9th 05 10:57 PM
Does Correl/Rank combo work eg CORREL(cols E & H) where E&H=RANK(. Emmanuel Excel Worksheet Functions 3 November 12th 05 03:33 PM
Rank items, select one start date, have remaining dates follow based on rank rob normerica Excel Discussion (Misc queries) 1 August 15th 05 09:36 PM


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