Closed Thread
Results 1 to 3 of 3

How to create a Golf schedule

  1. #1
    Registered User
    Join Date
    08-18-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    12

    How to create a Golf schedule

    I need to create a scheule for my local Golf Society for annual trip away.

    I have 17 players and 5 tee times over 4 days. The tee times are 3 x Groups of 3, and 2 x Group of 4.

    How can I create a table where no player plays with the same person each time.

    I've allocated Alphabetical characters to wach person and try to use Random but getting nowhere, think my hangover is holding me back a bit

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: How to create a Golf schedule

    I must thank you for this problem - it filled a dull hour, and it might fill a few more, as haven't solved it yet.

    The attached workbook has a macro which uses a fairly simple algorithm - for each slot it loops through the players until it finds one who has the lowest (or joint lowest) number of tee times allocated to them and who hasn't played with any of the players already allocated to that group.

    This works moderately well, but the algorithm is too simple and leaves 3 slots unallocated and has 15 of the 17 players who have played 3 game and 2 who only play 2, and who it can't allocate because the available spaces are in groups which have players in who they've already played with.

    Possibly by making it iterate through the process the few times it could allocate everything, but I don't know.

    Anyway, my workbook is attached if you want to see how far I've got. Sorry it's not perfect.

    Edited to add - Sorry, there were some serious issues with my last file. Not least of all that I'd misread your post. A new version is attached.
    Attached Files Attached Files
    Last edited by Andrew-R; 08-18-2011 at 12:21 PM.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: How to create a Golf schedule

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

Closed 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