+ Reply to Thread
Results 1 to 6 of 6

Using RANK twice in a formula

  1. #1
    Registered User
    Join Date
    01-31-2008
    Posts
    10

    Using RANK twice in a formula

    I am currently running my own predictions league and can rank the teams in order of their Points total, but the problem is when points are equal, how do I separate them?
    I want to separate by Points Scores, then by % of correct results.

    For example if I have 2 players on 30 points; Player 1 has 55% correct, Player 2 has 50% correct,then Player 1 is top.

    I have enclosed an example of the final table.
    Rankings are obtained using a 'vlookup' from a separate worksheet.

    Thankyou, as always, for your continued assistance.

    Regards, Craig
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,702
    Try this formula in A2 copied down

    =SUMPRODUCT(--(G$2:G$5+H$2:H$5>G2+H2))+1

  3. #3
    Registered User
    Join Date
    01-31-2008
    Posts
    10
    Thankyou DLL for the reply.
    However, I am using imaginary bets and earnings to separate equal points and the formula doesn't work as you will see from the example.
    Players with less points are above others, because their earnings are more.
    I want it so points are used first to separate; then earnings to split them.
    Hope you understand.

    Are you possibly able to tweak it for me please?

    Thanks as always for your continued assistance.

    Craig
    Attached Files Attached Files

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    In A2 and copy down, try

    =RANK(G2, $G$2:$G$17) + SUMPRODUCT( (G2 = $G$2:$G$17) * (H2 < $H$2:H$17) )

    A month is a bit long to respond, considering that DLL responded in 10 minutes to your original post.

  5. #5
    Registered User
    Join Date
    01-31-2008
    Posts
    10
    Dear SHG,

    Apologies for the time delay.

    When I originally had the problem, I tried it with fewer players and this problem didn't appear.

    Please don't think I don't appreciate all help from you or any of the Administrators.

    Regards,

    Craig

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    When I originally had the problem, I tried it with fewer players and this problem didn't appear.
    That would have been a good opportunity to thank DLL for his help, huh?

    Ditto in threads http://www.excelforum.com/excel-work...ns-league.html and http://www.excelforum.com/excel-work...yet-again.html where you never responded.

    And in thread http://www.excelforum.com/excel-work...ns-league.html where you never responded to Richard Buttrey.

    And in thread http://www.excelforum.com/excel-work...edictions.html where you never responded to Gearcutter.

    That's every thread you've started, less one. You could find this forum very quiet place.
    Last edited by shg; 08-23-2008 at 04:01 PM.

+ 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