+ Reply to Thread
Results 1 to 5 of 5

Ranking function with no ties

  1. #1
    Registered User
    Join Date
    04-11-2012
    Location
    Stoke, England
    MS-Off Ver
    Ms 365
    Posts
    68

    Ranking function with no ties

    Hi All

    I hope someone can help I have a column with lots of data in it (I have attached a small portion in the workbook) I need to rank evry six entries going down the column. I have googled and found the + countif option to break the ties but I cant seem to get it to work?

    I hope someone can point me in the right direction.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: Ranking function with no ties

    You can use this formula in B1:

    =RANK(D1,INDEX(D:D,INT((ROWS($1:1)-1)/6)*6+1):INDEX(D:D,(INT((ROWS($1:1)-1)/6)+1)*6),1)

    then copy down. This does not take account of ties - is that likely to happen in a group of six numbers?

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    04-11-2012
    Location
    Stoke, England
    MS-Off Ver
    Ms 365
    Posts
    68

    Re: Ranking function with no ties

    Hi Pete

    Thanks for the input, there is however many ties in my data that I need to address

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: Ranking function with no ties

    Okay, you can use this formula in cell B1:

    =RANK(D1,INDEX(D:D,INT((ROWS($1:1)-1)/6)*6+1):INDEX(D:D,(INT((ROWS($1:1)-1)/6)+1)*6),1) + COUNTIF(INDEX(D:D,INT((ROWS($1:1)-1)/6)*6+1):D1,D1)-1

    then copy down.

    Hope this helps.

    Pete

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,918

    Re: Ranking function with no ties

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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] Ranking without ties
    By kylechace in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-30-2017, 12:34 AM
  2. Ranking and ties
    By scubadiver007 in forum Excel General
    Replies: 2
    Last Post: 10-13-2011, 08:47 AM
  3. Ties in ranking
    By ACEMAN3131 in forum Excel General
    Replies: 4
    Last Post: 12-07-2010, 03:17 PM
  4. Ranking ties
    By itsjenn in forum Excel General
    Replies: 1
    Last Post: 10-19-2010, 06:06 PM
  5. Ranking - Ties
    By Marvo in forum Excel General
    Replies: 11
    Last Post: 07-06-2009, 10:12 AM
  6. Ranking (ties)
    By ExcelUser45 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-13-2008, 12:32 PM
  7. Ranking question (ties)
    By rozeltf in forum Excel General
    Replies: 5
    Last Post: 04-08-2006, 12:25 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