+ Reply to Thread
Results 1 to 10 of 10

Rank data in excel 2007 in descending order with unique values

  1. #1
    Registered User
    Join Date
    12-19-2014
    Location
    Sri Lanka
    MS-Off Ver
    2007
    Posts
    3

    Question Rank data in excel 2007 in descending order with unique values

    When I rank these data in descending order, results are as follows,
    Value Rank
    100.00% 9
    100.00% 9
    200.00% 14
    0.00% 5
    -100.00% 1
    0.00% 5
    -100.00% 1
    100.00% 9
    0.00% 5
    -100.00% 1
    200.00% 14
    100.00% 9
    100.00% 9
    0.00% 5
    -100.00% 1

    There are 15 numbers but highest rank shows as 14.

    Please help me I'm using Excel 2007.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,150

    Re: Rank data in excel 2007 in descending order with unique values

    Try

    =RANK(A1,$A$1:$A$15)

    Data in A1:A15

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Rank data in excel 2007 in descending order with unique values

    If you want to RANK without clubbing the common values, try the following:

    =RANK(A1,A$1:A$15,1)+COUNTIF($A$1:A1,A1)-1
    Attached Images Attached Images

  4. #4
    Registered User
    Join Date
    12-19-2014
    Location
    Sri Lanka
    MS-Off Ver
    2007
    Posts
    3

    Re: Rank data in excel 2007 in descending order with unique values

    Quote Originally Posted by cbatrody View Post
    If you want to RANK without clubbing the common values, try the following:

    =RANK(A1,A$1:A$15,1)+COUNTIF($A$1:A1,A1)-1
    Thanks for your prompt reply. but what is the rationality of being rank 15 & 14 for the same value ie. 200%?

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,458

    Re: Rank data in excel 2007 in descending order with unique values

    The highest value you have (lowest ranking) has to be 14 because the two values are equal. You can use this to add an equals sign where there's a tie:

    =RANK(A1,$A$1:$A$15,0)&IF(COUNTIF($A$1:$A$15,A1)>1,"=","")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: Rank data in excel 2007 in descending order with unique values

    Try:

    =COUNTIF($A$1:$A$15,"<"&A1)+COUNTIF($A$1:$A$15,A1)

  7. #7
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Rank data in excel 2007 in descending order with unique values

    Quote Originally Posted by Malinda View Post
    Thanks for your prompt reply. but what is the rationality of being rank 15 & 14 for the same value ie. 200%?
    As mentioned in my post #3, I said - "IF you want to RANK without clubbing the common values,......."

    Also, what is the rationality in expecting the top RANK to be 15 when you've got 2 common values at the top?

    It would be easier for us to modify/create formula if you tell us your expected outcome in complete.

  8. #8
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Rank data in excel 2007 in descending order with unique values

    Try, As per post #3 Change 1 to 0
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  9. #9
    Registered User
    Join Date
    12-19-2014
    Location
    Sri Lanka
    MS-Off Ver
    2007
    Posts
    3

    Re: Rank data in excel 2007 in descending order with unique values

    Quote Originally Posted by cbatrody View Post
    As mentioned in my post #3, I said - "IF you want to RANK without clubbing the common values,......."

    Also, what is the rationality in expecting the top RANK to be 15 when you've got 2 common values at the top?

    It would be easier for us to modify/create formula if you tell us your expected outcome in complete.

    Thanks again for your attention,

    I'm building an evaluation system for 15 branches under several criteria. We have assigned maximum limit (05 Points)
    for the highest budget achiever/s under each criteria while others receive a weighted score less than 05.
    I use the following formula to assign scores to each branch,

    Actual Budget Bgt Var % Rank (Use Rank Function)Weighted Score =IFERROR((J23/15)*5," ")
    313 220 42.27% 10 3.33
    268 220 21.82% 6 2.00
    498 220 126.36% 12 4.00
    271 200 35.50% 8 2.67
    602 220 173.64% 13 4.33
    607 220 175.91% 14 4.67
    307 220 39.55% 9 3.00
    152 220 -30.91%
    402 220 82.73% 11 3.67
    285 220 29.55% 7 2.33
    698 220 217.27% 15 5.00
    222 220 0.91% 4 1.33
    225 220 2.27% 5 1.67
    178 220 -19.09%
    185 220 -15.91%

    Since there are several criteria, my method may not accurate if budget achievement of any/more criteria consist with tie values in highest achievement.

    hope you understand my problem.

    Expecting a prompt solution from you.

    Regards...!!!

  10. #10
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Rank data in excel 2007 in descending order with unique values

    iIf C column contains %
    In D1, then drag down

    =iF($C1>0,RANK(C1,$C$1:$C$15,1),"")

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Cancatenate values on one cell on descending order
    By score in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 09-28-2015, 09:35 PM
  2. [SOLVED] Formula to Rank Values in Descending Order
    By brent_excel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-16-2015, 07:44 PM
  3. Replies: 8
    Last Post: 02-20-2014, 07:03 PM
  4. RANK - Non unique values, contiguous rank required
    By PaulBo in forum Excel General
    Replies: 9
    Last Post: 02-20-2014, 10:34 AM
  5. [SOLVED] Rank values in descending order with duplicates
    By mcain1981 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-14-2012, 01:15 PM
  6. Rank amounts and duplicated in descending order
    By jimstrongy in forum Excel General
    Replies: 3
    Last Post: 01-19-2012, 03:29 PM
  7. Rank Table in descending order
    By Merv in forum Excel General
    Replies: 6
    Last Post: 12-17-2009, 01:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1