+ Reply to Thread
Results 1 to 5 of 5

Mentoring Schedule

  1. #1
    Registered User
    Join Date
    11-11-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Mentoring Schedule

    I run a small mentoring program with 16 students.

    We have them for a period of 13 weeks, 6 of which are in different departments within a corporation.

    I would like to randomize the students in departments to force them to interact with other students. So that student number 1 does not always go to the same department with student 7 etc.

    I attached a started excel but have no clue. I looked at the random sports schedule generator but got lost.

    Thanks,
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Mentoring Schedule

    With credit to ideas I got from here http://www.excelforum.com/excel-gene...uplicates.html

    Do the following:
    1. Enter your student names in cells C2:R2.
    2. Enter your dates in A3:A8
    3. Enter your department names in C3:C8 (under the 1st student).
    4. In B3, enter the formula =RAND(), and drag it down to B8.
    5. Plug the following into a code module and run it.
    Please Login or Register  to view this content.
    If you don't like the results, rerun as often as you like.
    Acts 4:12
    Salvation is found in no one else, for there is no other name under heaven given to mankind by which we must be saved.

  3. #3
    Registered User
    Join Date
    11-11-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Mentoring Schedule

    Thanks for the reply. It works as you suggested.

    Can I add one more wrinkle? I would like to keep the number of students in each department maximum of 3. The randomizer has 4 sometimes and none at times.

  4. #4
    Valued Forum Contributor natefarm's Avatar
    Join Date
    04-22-2010
    Location
    Wichita, Kansas
    MS-Off Ver
    2016
    Posts
    1,020

    Re: Mentoring Schedule

    Well, that made it a little more tricky, but I think I got it. Let's start from scratch, just to make sure it's all set up correctly.

    1. Enter your student names in cells D2:S2 (Shifted over from before)
    2. Enter your dates in A3:A8
    3. Enter your department names in C3:C8 (no longer under the 1st student).
    4. In B3, enter the formula =RAND(), and drag it down to B8.
    5. In T3, enter =COUNTIFS(D3:S3,C3), and drag it down to T8.
    6. In T9, enter =MAX(T3:T8).
    7. Plug the following into a code module and run it.
    Please Login or Register  to view this content.
    I ran it a number of times, and it never hit the Fail line.

  5. #5
    Registered User
    Join Date
    11-11-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Mentoring Schedule

    Nate,

    Thanks a million. It works like a charm. The students in the mentoring program owe you a big thanks.

+ 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. Create Individual Schedule from Master Schedule
    By kscheller in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-24-2014, 11:47 PM
  2. Replies: 8
    Last Post: 07-15-2013, 07:13 PM
  3. Updating a Schedule based on a master schedule
    By Lukerich in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-21-2013, 12:18 PM
  4. create daily schedule using master task schedule
    By DCO in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-13-2012, 01:08 PM
  5. Replies: 8
    Last Post: 10-12-2005, 12:05 AM

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