+ Reply to Thread
Results 1 to 7 of 7

Rank Table in descending order

  1. #1
    Registered User
    Join Date
    12-14-2009
    Location
    ireland
    MS-Off Ver
    Excel 2003
    Posts
    11

    Rank Table in descending order

    Hi,
    I am looking to create a seperate league table based on percentages in two tables in descending order.
    What i want is the not ready times in one ranked table and the call logging in another along with the persons name and percentage.
    Im stumped about what is the simplest way to do this.

    See attach for the data.

    Thanks,
    Merv.
    Attached Files Attached Files
    Last edited by Merv; 12-21-2009 at 06:44 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Rank Table in descending order

    Your example sheet does not include a mockup of your desired results based on the data. It should, just make sure we aren't interpreting your goal incorrectly.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Rank Table in descending order

    Perhaps something like this. I've added a ranking formula beside each table. Tie-breaking for same values is resolved by "placement" in the table...so the higher up in the table you are, you get the higher ranking...sort of seniority.

    Then a table is created to the right from the rankings.
    Last edited by JBeaucaire; 12-16-2009 at 01:34 PM. Reason: sheet removed...see below for latest version

  4. #4
    Registered User
    Join Date
    12-14-2009
    Location
    ireland
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Rank Table in descending order

    thanks great, pretty much what i was looking, but what would i add to the formula for not reay times so that it goes in ascending order?
    Attached Files Attached Files

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Rank Table in descending order

    The RANK() formula does descending by default. There is an optional third parameter you can add to make it rank ascending instead, like golf scores.

    In I5:
    =RANK(H5, $H$5:$H$33, 1) + COUNTIF($I$4:I4, RANK(H5, $H$5:$H$33, 1))

    I also changed the percentage columns in the results tables so they will work whether you sort ascending or sort descending.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    12-14-2009
    Location
    ireland
    MS-Off Ver
    Excel 2003
    Posts
    11

    Thumbs up Re: Rank Table in descending order

    Cheers thanks for that mate.
    Last edited by Merv; 12-21-2009 at 06:44 AM.

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Rank Table in descending order

    If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].


    (Also, use the blue "scales" icon in our posts to leave Reputation Feedback, it is appreciated. It is found across from the "time" in each of our posts.)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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