+ Reply to Thread
Results 1 to 5 of 5

VLOOKUP match on first x values or ignore last x values - partial match

  1. #1
    Registered User
    Join Date
    03-07-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    3

    VLOOKUP match on first x values or ignore last x values - partial match

    Hey guys,

    I have full part numbers that I need matched with part number families. 123-456-789 needs to match 123-456-xxx for example. Is there a way to do that? =VLOOKUP(A3,C3:D6,2) obviously doesn't work Thanks!

    A B C E
    Part number Yes or No Part family
    123-456-789 #N/A 123-456-xxx yes
    123-456-456 234-567-xxx yes
    123-456-888 345-678-xxx no
    234-567-898
    234-567-888
    234-567-882
    345-678-111
    345-678-555
    345-678-888

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,684

    Re: VLOOKUP match on first x values or ignore last x values - partial match

    do you have a list of the families
    and are they all 3 numbers groups
    you can then do

    =vlookup( left(a3,7), range with the families , 1, false)
    then you can do an is iferror

    =iferror ( vlookup( left(a3,7), range with the families , 1, false), "not in family")

    will return the part if family
    OR you can use an IF and iserror

    =IF( iserror(vlookup( left(a3,7), range with the families , 1, false)), "not part of family", "in Family")
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: VLOOKUP match on first x values or ignore last x values - partial match

    This thread is a duplicate

    See thread below

    http://www.excelforum.com/excel-form...ial-match.html
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    03-07-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: VLOOKUP match on first x values or ignore last x values - partial match

    thanks all.

  5. #5
    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 match on first x values or ignore last x values - partial match

    FORUM MODERATOR'S REQUEST:

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as "SOLVED".
    For the meantime I'll do it for you.

    How?
    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

    Note:
    You can also thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given.
    By doing so you can add to the reputation(s) of those who helped and shared their time in helping you.
    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

+ 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. Vlookup True not working - need partial string match and returned values
    By leishab in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-20-2013, 04:44 PM
  2. [SOLVED] Check if Cell Contains any values from a list, partial match
    By scottclayton in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-22-2013, 05:39 AM
  3. Formula needed to return values for partial or full match
    By IntRes in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-07-2012, 08:32 AM
  4. Lookup multiple partial match conditions and return values
    By darklans in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 04-18-2012, 03:26 AM
  5. Replies: 2
    Last Post: 10-30-2007, 12:12 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