+ Reply to Thread
Results 1 to 8 of 8

random generator for a schedule

  1. #1
    Registered User
    Join Date
    05-06-2013
    Location
    columbus
    MS-Off Ver
    Excel 2003
    Posts
    4

    random generator for a schedule

    I have 27 players.

    I need 19 of the 27 randomly chosen each week (for a 10 week schedule)

    this should allow each player 6 or 7 games over the 10 week period.

  2. #2
    Registered User
    Join Date
    03-17-2017
    Location
    Hell
    MS-Off Ver
    2010
    Posts
    172

    Re: random generator for a schedule

    It would be helpful to attach the file.

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: random generator for a schedule

    Here is one way - I am certain there are many more ...

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-06-2013
    Location
    columbus
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: random generator for a schedule

    Thank you! this close. BUT...each week i need a random set of names from an original list of 27......and no one name can or should repeat more than 7 times. make sense ?

    meaning, i have 27 players in total....but i can only play 19 each week. i play for 10 weeks

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: random generator for a schedule

    Eight people are left out each week; over 10 weeks that's 80 people. So everyone should be left out three times, except for one lucky person that gets left out only twice. No?

    Conversely, there are 190 people that participate over the 10 weeks; so everyone participates in 7 games (7 * 27 = 189), and that one lucky person participates in eight.
    Last edited by shg; 03-23-2017 at 05:43 PM.
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Registered User
    Join Date
    05-06-2013
    Location
    columbus
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: random generator for a schedule

    yes, that sounds right! :-)

  7. #7
    Registered User
    Join Date
    05-06-2013
    Location
    columbus
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: random generator for a schedule

    any luck with furthering your macro to help with my issue? randomly selecting the 19 out of 27 for each of 10 weeks. No one should play more than 7 times in the 10 week period...except for 1

  8. #8
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: random generator for a schedule

    You could use "OpenSolver" for this as the Excel solver is not powerful enough since the number of variable cells exceeds capacity of Excel solver.

    opensolver.jpg

    If image is to small to be readable right click on image and open it in a separate tab.

    Alf
    Last edited by Alf; 03-25-2017 at 11:40 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. automated work schedule generator
    By pipsmultan in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-23-2020, 04:02 AM
  2. schedule generator
    By nojuicebox in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-13-2019, 10:50 PM
  3. Schedule generator - random
    By Jayhwk10 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-01-2017, 12:27 PM
  4. I need help with random generator schedule
    By fivestars2 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-14-2016, 07:51 AM
  5. Sports league schedule generator
    By Gordon Bro in forum Excel General
    Replies: 4
    Last Post: 10-15-2014, 04:09 PM
  6. Replies: 5
    Last Post: 06-21-2013, 10:40 AM
  7. A complecated schedule generator
    By GrimRaven in forum Excel General
    Replies: 0
    Last Post: 10-03-2012, 10:25 PM

Tags for this Thread

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