+ Reply to Thread
Results 1 to 9 of 9

[SOLVED]Trying to use Index/Match to populate daily Work Line up based on a schedule

  1. #1
    Registered User
    Join Date
    12-16-2012
    Location
    Florida, US
    MS-Off Ver
    Excel 2007
    Posts
    3

    [SOLVED]Trying to use Index/Match to populate daily Work Line up based on a schedule

    Hello Everyone,

    This is my first post.

    I am trying to setup a Daily Line Up based on the weekly schedule (in the second sheet of workbook) as the reference. I want the "SHIFT" column to populate the corresponding employee's schedule (once picked from the drop down list B29:B57) for the date populated in the K1 Cell(The NOW() function is used in the cell).

    How can this be done?

    I have attached the workbook.

    Thanks in advance
    Attached Files Attached Files
    Last edited by augie1973; 12-18-2012 at 05:21 AM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Trying to use Index/Match to populate daily Work Line up based on a schedule

    cannot see any drop downs
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    12-16-2012
    Location
    Florida, US
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Trying to use Index/Match to populate daily Work Line up based on a schedule

    Sorry, must have uploaded wrong wrkbk
    Attached Files Attached Files
    Last edited by augie1973; 12-17-2012 at 12:12 AM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Trying to use Index/Match to populate daily Work Line up based on a schedule

    try this, copied down...
    =INDEX(WeeklySchedule!$B$3:$I$79,MATCH(LineUp!$C29,WeeklySchedule!$B$3:$B$79,0),MATCH(LineUp!$K$1,WeeklySchedule!$B$3:$I$3,0))

    but 1st, change the =now() in sheet1 K1 to =today() =now included the time as well as the date
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor Steve N.'s Avatar
    Join Date
    12-22-2011
    Location
    USA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    298

    Re: Trying to use Index/Match to populate daily Work Line up based on a schedule

    Wanna wrapper for that?

    =IFERROR(........)),"")

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Trying to use Index/Match to populate daily Work Line up based on a schedule

    yeah why not makes it look nice and purdy

  7. #7
    Forum Contributor Steve N.'s Avatar
    Join Date
    12-22-2011
    Location
    USA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    298

    Re: Trying to use Index/Match to populate daily Work Line up based on a schedule

    and who don't like purdy...

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Trying to use Index/Match to populate daily Work Line up based on a schedule

    da widdle baby in da cash-back commercial? oh, no wait, that was cash-back she didnt like lol

  9. #9
    Registered User
    Join Date
    12-16-2012
    Location
    Florida, US
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Trying to use Index/Match to populate daily Work Line up based on a schedule

    try this, copied down...
    =INDEX(WeeklySchedule!$B$3:$I$79,MATCH(LineUp!$C29,WeeklySchedule!$B$3:$B$79,0),MATCH(LineUp!$K$1,WeeklySchedule!$B$3:$I$3,0))

    but 1st, change the =now() in sheet1 K1 to =today() =now included the time as well as the date

    ROCK ON. WORKED GREAT!!!

+ 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