+ Reply to Thread
Results 1 to 6 of 6

Need an if/then function from one sheet to another.

  1. #1
    Registered User
    Join Date
    02-05-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2003
    Posts
    5

    Need an if/then function from one sheet to another.

    Hello everyone,

    I'm working on a spreadsheet for employee scheduling. I currently have two sheets, one for the people at their places, and another for what days and what shift they work.

    Is there any way I can make a formula that looks at names of the people at their jobs, and then puts a value into a second sheet where their name is.

    So the first sheet has the days of the week horizontally, and the 3 shifts vertically.

    The second sheet has the days of the week horizontally, and the names vertically.

    I want to be able to type a persons name into the first chart for a day, and have it put 8-1st, 8-2nd, or 8-3rd into the second sheet, under the appropriate person.


    Thanks

    Dyne

  2. #2
    Registered User
    Join Date
    02-05-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Need an if/then function from one sheet to another.

    Here's an example of the scheduler. If I type in an employees name into the "schedule" worksheet, I'd like 8-1st, 8-2nd, or 8-3rd to pop up in the "Matrix" tab, on the appropriate day for that person.

    Thanks

    Dyne

  3. #3
    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,933

    Re: Need an if/then function from one sheet to another.

    Hi and welcome to the forum

    without seeing what you are working with, this is an untested guess, but try playing around with either vlookup() or index/match/match.

    If you still have a problem, i would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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

  4. #4
    Registered User
    Join Date
    02-05-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Need an if/then function from one sheet to another.

    Thanks for the help, here's an example of the workbook and its two sheets.

    Dyne

    Test.xls

  5. #5
    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,933

    Re: Need an if/then function from one sheet to another.

    Thanks for the file, but could you please include a few examples of what your expected outcould would be (manually entered if need be), as well as how you arrived at that

  6. #6
    Registered User
    Join Date
    02-05-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Need an if/then function from one sheet to another.

    So an example of what I'm looking for is if I enter "John Smith" into the intersection of "Tuesday" and "1500-2330" on the Schedule worksheet, I will get an 8-2nd on the Matrix worksheet at the intersection of "John Smith" and "Tuesday".

    Even better would be if I could have a dropdown list of all the employees at each intersection on the Schedule worksheet, which would then put the appropriate shift into the Matrix worksheet.


    Thanks,

    Dyne

+ 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