+ Reply to Thread
Results 1 to 2 of 2

Multiple Lookups

  1. #1
    Registered User
    Join Date
    02-15-2011
    Location
    Cardiff, Wales
    MS-Off Ver
    Excel 2003
    Posts
    2

    Angry Multiple Lookups

    HI,

    I am trying to wite a formula that has multiple lookups and multiple results.

    In Column A will be a list for 6 names
    In column B there is a list of times along each name with only 1 of 3 out comes.

    Input required in cell d1 of a name from the list. Depending on the name and time it will result in 1 of 4 location out comes

    Example
    Sam - 8am - Location 1
    Sam - 830am - Location 2
    Harry - 8am - Location 3
    Harry - 830am - Location 4

    So what i am looking for is to type in the name and referrence the time and it will give me the location as the locations are not populated yet.

    Not sure which way to approach the solution. Please help

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

    Re: Multiple Lookups

    Not sure I fully understand, but perhaps:

    =INDEX(C1:C6,MATCH(1,INDEX((A1:A6=C1)*(B1:B6=D1),0),0))

    This will lookup items entered in C1 and D1, and find them in A1:A6 and B1:B6, respecitively and return the corresponding item from C1:C6.
    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