+ Reply to Thread
Results 1 to 10 of 10

League Table Ranking

  1. #1
    Registered User
    Join Date
    09-05-2010
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2010
    Posts
    11

    League Table Ranking

    I am trying to rank these teams, in the following order
    1. Points
    2. Goal Difference
    3. Goals Scored
    4. Team Name
    I don't want duplicate ranks on ties.

    I am using Excel 2010
    Attached Files Attached Files
    Last edited by okopo; 01-08-2012 at 07:02 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: League Table Ranking

    Hi okopo

    Please click attached. I done VBA to sort the table. Pos Sort Rank and Sumproduct and p. I put in =sum($D2:$F2)

    Good luck
    Attached Files Attached Files

  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: League Table Ranking

    Create a secondary numeric value based on the items you want to include in the calculation and in the order you want them included. So, if the order you want them evaluated are:

    J2
    I2
    H2
    G2
    Row position
    (higher in the list gets a better rank)

    Then this would be the new "index score" formula...in K2 then copied down:

    =J2 + (I2/100) + (H2/10000) + (G2/1000000) + (ROW()/100000000)

    Then, your normal RANK() formula in A2, copied down:

    =RANK($K2,$K$2:$K$21)


    This should give you the correct results regardless of the ordered list, so put the list in order based on team names in the order you would break the final ties based on list order.
    Last edited by JBeaucaire; 01-09-2012 at 03:16 PM. Reason: corrected column A formula
    _________________
    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!)

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: League Table Ranking

    Similar to Jerry,
    Add a tie-breaker column, in this example Column J.
    In J2
    Please Login or Register  to view this content.
    Drag/Fill Down
    In L2
    Please Login or Register  to view this content.
    Drag Across then down.

    Enter the new results in your original Table (This need not be sorted)
    Changes will automatically happen in the table I have added.
    Attached Files Attached Files
    Last edited by Marcol; 01-09-2012 at 09:53 AM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: League Table Ranking

    Sorry my mistake in Rank

    Do what JBeaucaire did.
    K2 =J2 + (I2/100) + (H2/10000) + (G2/1000000) + (ROW()/100000000) then copy down
    A2 =RANK($k2,$k$2:$k$21) then copy down will give you correct Rank. Don't put in what JBeaucaire say (=RANK($M2,$M$2:$M$21) cos nothing in row M cell it blank.)

    Marcol is good. But if Tie Breaker. it come up same name. Sample first game of the season. Liverpool and Man Utd both won 2-0. That mean Tie Breaker It will show 2 Man Utd no Liverpool show up.
    Last edited by micope21; 01-09-2012 at 12:35 PM.

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: League Table Ranking

    Good point micope21

    In the event of an absolute tie, commonly found early in the season, the final order is usually returned alphabetically.

    The initial table should, in that case, be set up alphabetically and that should never change.

    The Tie-breaker then becomes,
    Please Login or Register  to view this content.
    or, to vary the league size
    Please Login or Register  to view this content.
    See this new attachment
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: League Table Ranking

    That better Marcol

    I also put in RANK and POS. Rank put in =K2+J2/10^3+H2/10^6+(21-ROW(B1))/10^9 and POS put in =K2+J2/10^3+H2/10^6.

    Look better in Tie breaker.

    Now it up to okopo to choose or all file.
    Attached Files Attached Files
    Last edited by micope21; 01-09-2012 at 03:31 PM.

  8. #8
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: League Table Ranking

    @ micope21

    I'm glad that you approve of my amendments, but what is the advantage that you are suggesting?

    What purpose do the extra columns serve in your enhancement?

  9. #9
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: League Table Ranking

    Marcol.

    For me. I would prefer POS. You know what number they are in straight away in sec. Without it. You got to count what POS they are in.

    okopo had put in POS. Maybe that what okopo want.

  10. #10
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: League Table Ranking

    Would this not be enough?
    Attached Files Attached Files

+ 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