+ Reply to Thread
Results 1 to 3 of 3

New to programming, need help generating random names for a schedule

  1. #1
    Registered User
    Join Date
    03-26-2019
    Location
    San Diego
    MS-Off Ver
    2016
    Posts
    2

    New to programming, need help generating random names for a schedule

    Hi, I'm pretty solid with basic Excel functions, but I've been making schedules for a while in Excel and need an easier way to do it. Basically, I have a list of names every few months that goes into an event schedule (around 14 events or so, but I only put in 4 to make it simpler). I'd like to randomize the students completely between all 6 instructors. Preferably I'd fill up the first column (Student 1) of each event with 6 distinct names from the student list, and then any leftover would be randomly distributed into the "student 2" column of that event. (This is to make sure that students get somewhat evenly distributed time with each instructor, and each instructor gets somewhat even days with only one student). In other words, since I have 8 students in this example with 14 slots, I'll have 4 slots unavailable in each event, hopefully for Student 2. I also occasionally need to keep an instructor unavailable for one or both events, so I'd need to know how to leave them out. I could do that manually if needed.

    I read a few other posts and am not totally positive where all of this is put into Excel. Thank you for the help!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: New to programming, need help generating random names for a schedule

    I cannot post my code.

    Look at the example.
    Attached Files Attached Files
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    03-26-2019
    Location
    San Diego
    MS-Off Ver
    2016
    Posts
    2

    Re: New to programming, need help generating random names for a schedule

    Thank you for the help. I'm new to macros, so is it that the code has to exist on those other pages? Looking at it, if it makes the project much simpler I can honestly leave out the entire "instructor unavailable" issue and just move people around as needed since it's rare. Would that make it easier? Because I'm a little confused as to how to use it. I'm still looking over it. Thanks again.

+ 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. [SOLVED] Generating Class Lists from Schedule
    By nerickson6 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-06-2016, 01:08 PM
  2. [SOLVED] Programming a timeline schedule to a calendar
    By daisiedawn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2015, 07:46 PM
  3. Generating Schedule
    By clabhart in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-15-2015, 11:28 PM
  4. Generating a list of Random numbers of random length...
    By Growl in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2013, 12:10 PM
  5. Generating a schedule/calendar from a list of dates
    By Cabezone in forum Excel General
    Replies: 0
    Last Post: 12-09-2011, 03:05 PM
  6. Generating a Random Number of Random Numbers
    By Garrus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2010, 09:39 AM
  7. Help in generating a schedule
    By gloom52 in forum Excel General
    Replies: 2
    Last Post: 09-02-2009, 02:49 PM

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