+ Reply to Thread
Results 1 to 2 of 2

How do I lookup multilple criteria and return a single value

  1. #1
    StephenAccountant
    Guest

    How do I lookup multilple criteria and return a single value

    Hi,

    I have two lists. One is a comprehensive list and the other is a simple
    list. I am trying to import data from the simple list into the comprehensive
    list.

    Comprehensive List

    A B C
    D
    1 First Name Second Name Address Code
    2 John Doe 123 blah blah
    3 Peter Smith 456 blah blah
    etc

    Now in this list the cells under the code column are all blank but all
    others have values

    Simple List

    A B C
    1 First Name Surname Code
    2 Ben Dover 1234
    3 Amanda Huginkiss 5678
    etc etc

    I need to look up the first name and the surname in the simple list and
    return the code value into the comprehensive list.

    Vlookup will lookup one cell reference.

    Thoughts??

  2. #2
    Peo Sjoblom
    Guest

    Re: How do I lookup multilple criteria and return a single value

    =INDEX(C2:C200,MATCH(1,(A2:A200=first_name)*(B2:B200="last_name),0))

    entered with ctrl + shift & enter

    --

    Regards,

    Peo Sjoblom

    Excel 95 - Excel 2007
    Northwest Excel Solutions
    www.nwexcelsolutions.com
    "It is a good thing to follow the first law of holes;
    if you are in one stop digging." Lord Healey


    "StephenAccountant" <StephenAccountant@discussions.microsoft.com> wrote in
    message news:1594CA07-5181-4EAC-A663-70CA9CC8C3FD@microsoft.com...
    > Hi,
    >
    > I have two lists. One is a comprehensive list and the other is a simple
    > list. I am trying to import data from the simple list into the
    > comprehensive
    > list.
    >
    > Comprehensive List
    >
    > A B C
    > D
    > 1 First Name Second Name Address Code
    > 2 John Doe 123 blah blah
    > 3 Peter Smith 456 blah blah
    > etc
    >
    > Now in this list the cells under the code column are all blank but all
    > others have values
    >
    > Simple List
    >
    > A B C
    > 1 First Name Surname Code
    > 2 Ben Dover 1234
    > 3 Amanda Huginkiss 5678
    > etc etc
    >
    > I need to look up the first name and the surname in the simple list and
    > return the code value into the comprehensive list.
    >
    > Vlookup will lookup one cell reference.
    >
    > Thoughts??




+ 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