+ Reply to Thread
Results 1 to 4 of 4

Lookup in Columns with Multiple Values

  1. #1
    Registered User
    Join Date
    11-19-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question Lookup in Columns with Multiple Values

    Hi guys/gals...

    My first post as I'm getting desperate - been pounding my head about this one for a while and getting no where. Let's see if I can describe this clearly...


    I have a list of data for which I would like to fill in a cell/column by looking up column B with the data from another sheet. Once found, I need to use column H of that other sheet to populate said field on original sheet.
    Sheet 1
    Column A Column B
    1 Apple ??
    2 Banana ??
    3 Orange ??
    4 Kiwi ??

    Sheet 2
    Column A Column B
    1 John Suzie Kiwi Bob GREEN
    2 Luke Apple Betty Jim RED
    3 John Jacob Banana Quinn YELLOW


    In the above example, I would like to fill column B on Sheet 1 with the contents of Column B on Sheet 2 by matching the contents of Sheet 1!Column A with Sheet 2 ! Column A.

    Normally, VLOOKUP would work perfectly...but, because I'm not looking for a cell with only one piece of data in it, VLOOKUP doesn't work. I've also attempted MATCH or FIND, but, am a bit lost with what is being returned. Obviously, there is something wrong with my formula.

    I would expect the following result:
    Sheet 1
    Column A Column B
    1 Apple RED
    2 Banana YELLOW
    3 Orange MISSING
    4 Kiwi GREEN

    Any help would be much appreciated!!


    thanks!!!

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Lookup in Columns with Multiple Values

    In B1:

    =VLOOKUP("*"&A1&"*",Sheet2!$A$1:$B$500,2,0)

    * is a wildcard value, meaning anything. So If we look for *123* in bob123weiner it will find a match.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    11-19-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    2

    Thumbs up Re: Lookup in Columns with Multiple Values

    Quote Originally Posted by daffodil11 View Post
    In B1:

    =VLOOKUP("*"&A1&"*",Sheet2!$A$1:$B$500,2,0)

    * is a wildcard value, meaning anything. So If we look for *123* in bob123weiner it will find a match.
    Thanks for the quick reply! This seems to have worked perfectly! I didn't expect to be using VLOOKUP for this, so, it was good to learn about the wildcards!

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Lookup in Columns with Multiple Values

    Thanks for the feedback. Glad I was able to help out.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formula to lookup multiple text values in multiple columns
    By karimk in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-04-2013, 05:33 AM
  2. lookup multiple values in multiple columns to return a result
    By AYAHOO123 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-11-2013, 07:53 PM
  3. [SOLVED] How can I lookup values from multiple columns
    By dhiresh in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-23-2013, 12:26 PM
  4. Lookup multiple values in multiple columns and return value
    By Mads2600 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-20-2010, 09:57 AM
  5. [SOLVED] Lookup in Multiple Columns, Return Multiple Values
    By andy62 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-05-2006, 09:40 PM

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