+ Reply to Thread
Results 1 to 6 of 6

Populating roster based on multiple conditions

  1. #1
    Registered User
    Join Date
    04-25-2011
    Location
    Cottage Grove, Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    7

    Populating roster based on multiple conditions

    I am attempting to create a posting report that will generate automatically based off a separate worksheet that holds a calender that allows the user to use data validation lists to select the posts that an individual will hold. I will try to explain the situation as best that I can:

    The first sheet contains the roster template that I would like to use for a printable report. At the top of the first sheet there are two cells that will allow the user to input the calender dates of the specific roster they want to generate.

    The second and third sheet are examples of the calendars that I would like to use to input the posts that each member will be assigned to. The days applicable use data validation lists to assign the posts.

    Here is what I want to do but seem to be stuck at and need help:

    The user inputs the assigned posts in the calendar, then they move to the first sheet, the roster, and inputs the date they need to generate the roster for. I need the cells (that each read #N/A currently, to look at that date and month, pull up the appropriate sheet based on month, look at the date used, and then will put in the names of each post as they are assigned on the calendar.

    The formula currently in the cells correctly reads the information put in the date, and through Lookup function looks in the appropriate location and tries to pull the name for that row. What I am currently having problems is that sometimes the formula does not pull the correct information, returns an error, or for some reason returns a completely different name from the list. I am trying to put this together using only excel functions rather than VBA coding, as the computer security automatically disables macros and would make it annoying for the user to enable them every time this workbook is opened. There are other functions that I want to do with the product, but I'm aware of how to implement them, and just want to get the base project complete before adding them. I have attached the workbook in question. Any help would be very appreciated.
    Attached Files Attached Files
    Last edited by kakron21; 05-03-2011 at 12:53 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    06-19-2010
    Location
    Holywell, N Wales, UK
    MS-Off Ver
    Excel 2013
    Posts
    470

    Re: Populating roster based on multiple conditions

    Hey kakron21
    Welcome to the forum.
    ... have you attached the correct workbook?
    Your description doesn't seem to match the attachment.
    Please help us to help you.
    barry

  3. #3
    Registered User
    Join Date
    04-25-2011
    Location
    Cottage Grove, Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Populating roster based on multiple conditions

    Sorry, that was the wrong one, I've uploaded the correct one in it's place.

  4. #4
    Valued Forum Contributor
    Join Date
    06-19-2010
    Location
    Holywell, N Wales, UK
    MS-Off Ver
    Excel 2013
    Posts
    470

    Re: Populating roster based on multiple conditions

    Hi kakron21
    Thanks for the re-post.
    I have modified the Alpha section.
    Lookup requires that the lookup list is in alphabetical order.
    I have modified this using Index which doesn't
    barry
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-25-2011
    Location
    Cottage Grove, Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Populating roster based on multiple conditions

    Ok, that's what the problem was then, thank you very much for the help, I was looking around trying to figure out another way to do the function, as I started out with VLookup, found that wouldn't work, didn't realize lookup required an alphabetical order!

  6. #6
    Registered User
    Join Date
    04-25-2011
    Location
    Cottage Grove, Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Populating roster based on multiple conditions

    Perhaps you could help me out again, I'm now facing a problem where in the leave, TDY, etc. columns I need to also find 2nd, 3rd, etc. occurances of the same string in that column, is there any way to modify that formula to look for those instances?

+ Reply to 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