+ Reply to Thread
Results 1 to 5 of 5

Using VBA with Lookup to create participant schedules.

  1. #1
    Registered User
    Join Date
    05-20-2017
    Location
    PEI, Canada
    MS-Off Ver
    2016
    Posts
    2

    Using VBA with Lookup to create participant schedules.

    I am trying to create individual participant schedules. I have created a sample excel file that shows what I want to do however I cannot figure out how to add my attachment. My actual file has 150 registrations, and many more session times.

    The registration data for each participant is shown in a separate row. Participants have indicated their top choice with a 1. Each group of 5 columns (ie. T1-H1, T2-H1, T3-H1, T4-H1, T5-H1) is one time slot and the participant will have a 1 in only one of the columns in this group. They have also indicated their second choice. At this point in time, we only have a couple of sessions that are overfilled that will require participants to take their second choice. In these situations, we can manually adjust their selections.

    The schedule tab shows the sample participant schedule. I have used the Lookup function to pull the data to give an example of what I want to do. It looks up their first choice for each time slot, and based on that choice, it fills in the room number where the session is delivered, as well as the name of the session. The session times do not change so could be typed into a template manually, or I could put them on a separate tab in the worksheet to pull from.

    I need to create a separate schedule for each participant, and do not want to have to do this manually 150 times.

    Thank you for your suggestions.
    Attached Files Attached Files

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Using VBA with Lookup to create participant schedules.

    Any chance you can organize the Raw Data sheet like this?

    Please Login or Register  to view this content.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  3. #3
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Using VBA with Lookup to create participant schedules.

    In the meantime this formula will take you further
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Also take a look at this thread. Seems to be similar to your problem:
    https://www.excelforum.com/excel-pro...s-at-once.html
    Last edited by Tsjallie; 05-20-2017 at 04:32 PM.

  4. #4
    Registered User
    Join Date
    05-20-2017
    Location
    PEI, Canada
    MS-Off Ver
    2016
    Posts
    2

    Re: Using VBA with Lookup to create participant schedules.

    Thank you. Yes, I could reorganize my data to look like that using the Lookup function. For the printable participant schedule however, I do want to keep the vertical layout.

    I am very new to VBA so I'm not sure how to use the three strings that you gave me.

  5. #5
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Using VBA with Lookup to create participant schedules.

    Let's see if this is something you can do with.
    Added some comments to the sheets.
    Attached Files Attached Files

+ 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. Replies: 2
    Last Post: 06-23-2016, 05:15 PM
  2. Pickleball tournament bracket - macro to create individual player schedules
    By dhhume in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-23-2015, 12:36 PM
  3. Create 4 weekly schedules for the month
    By mat127 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-24-2015, 01:38 PM
  4. Determine Age Group for each Race Participant
    By Leigh Stewart in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-15-2013, 08:14 PM
  5. Can't figure out how to graph 2 sets of data for each participant.
    By tr71 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 04-06-2013, 04:34 AM
  6. Participant Data - calculations and logic formula help needed
    By bryden06 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-15-2013, 01:15 PM
  7. [SOLVED] How do I create shiftwork schedules in Exel?
    By Ashlee in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-24-2006, 04:20 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