+ Reply to Thread
Results 1 to 4 of 4

Vlookup for finding parts of text in lookup range cells

  1. #1
    Registered User
    Join Date
    08-05-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010 for Mac
    Posts
    60

    Vlookup for finding parts of text in lookup range cells

    I am trying to match a product code (number) to the product name (text) of many different products. I have a list of products and corresponding codes, but for some reason I continue to get N/A, even when I use wildcards or other types of lookup functions. The problem is that the cell I want to match code to contains only one thing of text, whereas the range might have multiple product names (e.g., If i want to find the code for pants, the range will have something like "Shirts/Socks/Pants.")

    Anyone have an idea of how to incorporate a find("Pants") function in a vlookup or index match so I can find the corresponding codes?

    Example workbook attached.. Thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Vlookup for finding parts of text in lookup range cells

    something like

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    08-05-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010 for Mac
    Posts
    60

    Re: Vlookup for finding parts of text in lookup range cells

    that doesn't seem to be working.

    Would something like this work? =VLOOKUP(A4&B4&E4&F4,'Sheet1'!$A$2:$J$2022,3,0). It is returning plenty of values, but I am worried they aren't right.

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Vlookup for finding parts of text in lookup range cells

    sorry that should be until row 21

    INDEX($R$4:$R$21,MATCH("*"&E3&"*",$S$4:$S$21,0))

+ 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. [SOLVED] Finding median of range of cells containing text and numbers
    By _hs_ in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-18-2013, 12:23 PM
  2. [SOLVED] VLOOKUP using text in multiple cells as lookup value?
    By senciser in forum Excel General
    Replies: 9
    Last Post: 10-31-2012, 10:37 AM
  3. Finding the range of cells that contain specific text
    By WerdnaSbbig in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2012, 10:33 AM
  4. Comparing Parts of Cells / Vlookup
    By VegasL in forum Excel General
    Replies: 3
    Last Post: 07-28-2010, 06:08 AM
  5. [SOLVED] vlookup - finding the next value that is GREATER than the lookup value?
    By Bernie Deitrick in forum Excel Formulas & Functions
    Replies: 36
    Last Post: 09-06-2005, 07:05 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