+ Reply to Thread
Results 1 to 2 of 2

Lookup vs. Index/match function

  1. #1
    Registered User
    Join Date
    08-09-2007
    Posts
    1

    Lookup vs. Index/match function

    I am trying to setup 2 worksheets to create a work schedule for a small company. The first worksheet would list all employees and whether they are "in" or "off," and this I would manually input. The second worksheet would search the columns for the day and if they are "in" would pull their name and put it in the seond sheet. The second sheet would be used only for easy viewing to see who was "in" that particular day. I have been trying the VLOOKUP and INDEX/Match function with no luck. What functions should I be using?
    Example:
    The first is a weekly schedule for employees: the names are in column 1, the days of the week in row 1, and whether an employee is in/off in the table:
    Mon Tues Wed
    John In Off In
    Bill Off IN In
    Jane In In Off
    Fred In IN IN

    The second worksheet:
    Mon Tues Wed
    John Bill John
    Jane Jane Bill
    Fred Fred Fred

    I hope this makes sense, and would appreciate any direction and assistance.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    See attached file

    Formula used in Sheet 2, cell A2:

    Please Login or Register  to view this content.
    Adjust ranges B2:B25 and A2:A25 to suit and then reconfirm formula with CTRL+SHIFT+ENTER not just ENTER.... then copy down as far as necessary to capture all data and to the right to capture all dates.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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