+ Reply to Thread
Results 1 to 14 of 14

Sorting a football/soccer league table

  1. #1
    Registered User
    Join Date
    04-11-2006
    Posts
    10

    Question Sorting a football/soccer league table

    Hello,

    I am trying to create a spreadsheet for the upcoming World Cup (soccer).

    I have listed all the games, right through to the final, and the user will input the scores they are predicting.

    The scores are used in formula to determine each team's group-stage results (i.e. how many games won, how many games drawn, how many games lost, goals scored, goals conceded, goal difference and points).

    I have all this information for each team, but my problem comes when trying to get the groups (32 teams split into 8 groups) to sort automatically, firstly by points, and if need be, then by goal difference, then by goals scored.

    I would prefer this to be carried out without using a macro, if possible.

    I think it may be possible for it to be carried out using VLOOKUP and RANK in combination with eachother, but I have hit a brick wall and cant see any solution.

    Any help would be appreciated.

    Below is an example of a group that I would like to sort:

    \1

    Thanks in advance.
    Last edited by daveycmc; 05-13-2010 at 10:20 AM.

  2. #2
    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: Problem automatically sorting a football/soccer league table

    Have a look at this file.

    It was started for someone who didn't reply to their post.

    It only partially works but perhaps we could modify it to suit your needs, (and add some tips that DonkeyOte gave)

    Cheers
    Attached Files Attached Files
    Last edited by Marcol; 05-12-2010 at 11:49 AM.

  3. #3
    Registered User
    Join Date
    04-11-2006
    Posts
    10

    Re: Problem automatically sorting a football/soccer league table

    Quote Originally Posted by Marcol View Post
    Have a look at this file.

    It was started for someone who didn't reply to their post.

    It only partially works but perhaps we could modify it to suit your needs, (and add some tips that DonkeyOte gave)

    Cheers
    I already have all of the funtionality that the attached spreadsheet has on my version.

    My problem is automatically sorting the league table, which it appears the attached spreadsheet doesnt do either.

  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: Sorting a football/soccer league table

    I somehow posted the wrong workbook, I must have overwritten that one accidentally.

    Have a look at this one it sorts on four fields in the group tables

    Sorry about that.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-11-2006
    Posts
    10

    Re: Sorting a football/soccer league table

    Quote Originally Posted by Marcol View Post
    I somehow posted the wrong workbook, I must have overwritten that one accidentally.

    Have a look at this one it sorts on four fields in the group tables

    Sorry about that.

    Hi, and thanks for the help so far.

    The spreadsheet you attached still does not work correctly. It awards 2 points for a draw, and it still doesnt seem to sort them correctly (points are all jumbled-up).

  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: Sorting a football/soccer league table

    Okay I got it wrong, I thought it was 2pts for a draw.

    The problem with the pts order seems to be with the goal differences, I'll give that criteria some more thought. In the meantime I have removed it as a criteria.

    See if it works any better now.

    Cheers
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-11-2006
    Posts
    10

    Re: Sorting a football/soccer league table

    Quote Originally Posted by Marcol View Post
    Okay I got it wrong, I thought it was 2pts for a draw.

    The problem with the pts order seems to be with the goal differences, I'll give that criteria some more thought. In the meantime I have removed it as a criteria.

    See if it works any better now.

    Cheers
    Thanks.

    It seems to be working ok now.


  8. #8
    Registered User
    Join Date
    06-13-2010
    Location
    Plymouth, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: Sorting a football/soccer league table

    it works fine however one snag i see is that the teams are listed randomly for example group A has france at the top with 1 point and Uruguay with 4 points at the bottom lol this cannot be right lol

  9. #9
    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: Sorting a football/soccer league table

    Hmmm......

    I've lost track of this one! (Scotland never got there! ..... ....

    Do you want me to have another look?
    Last edited by Marcol; 06-17-2010 at 06:57 PM.

  10. #10
    Registered User
    Join Date
    06-13-2010
    Location
    Plymouth, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: Sorting a football/soccer league table

    yes please I would also like to be able to get into the cell when you post the link to it so I can copy and paste the formula making minor adjustments I am working hard trying to do the english football league with the added game play of predicting the score with a number of players and would like to have 5 tables 4 for the actual teams and 1 for the players predictions a hard task I know but once its done its done and I have till the 14th August 2010 when the season properly starts so please please help it would also be nice to have the colour transfered to sheet2 (FIXTURES) that are coloured as in sheet1 (TEAMS)

    thanks

    P.S it would be an added bonus to be able to use somewhere I dont know where for the results to be added automatically as filling in everyones scores is time consuming as it is lol
    Attached Files Attached Files
    Last edited by JediMaster; 06-20-2010 at 05:02 AM. Reason: new link

  11. #11
    Registered User
    Join Date
    06-13-2010
    Location
    Plymouth, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: Sorting a football/soccer league table

    Just posted a new link with the finished look but just the formulas to be added

    any help from anyone would be greatly appreciated

    Thanks

    forgot to attach
    Attached Files Attached Files
    Last edited by JediMaster; 06-20-2010 at 05:07 AM.

  12. #12
    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: Sorting a football/soccer league table

    Hmmm.....?

    JediMaster
    Just noticed that this is not a thread started by you

    Forum Rules And Guidance
    2. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.
    You may have to ask a moderator to help you with this.

    I will be happy enough to help you with your question, if I can, but please attend to this matter first.

  13. #13
    Registered User
    Join Date
    06-13-2010
    Location
    Plymouth, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: Sorting a football/soccer league table

    I more than happy to post a new thread however not sure in how to deal with what ive started here so please look out for my new thread which has an updated version of what I have started

    Thanks again

  14. #14
    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: Sorting a football/soccer league table

    Okay will do.
    PM me with the link when you have posted
    Cheers

+ 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