+ Reply to Thread
Results 1 to 6 of 6

VLOOKUP based on partial match

  1. #1
    Forum Contributor
    Join Date
    05-21-2014
    Location
    United States
    MS-Off Ver
    Office 365 on Windows 10
    Posts
    122

    Question VLOOKUP based on partial match

    Please help me troubleshoot the formula error in the attached file.

    The goal here is to look at the values in column A, compare them to the values in column F, and if the values in column F are found within the values in column A, return the value in column G.

    The formula is in column B, but it's not working.

    I put the expected outcome in column D for reference.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: VLOOKUP based on partial match

    Try

    in B1

    =SUMPRODUCT(--(ISNUMBER(SEARCH($F$11:$F$15,$A1)))*ROW($1:$5))

  3. #3
    Forum Contributor
    Join Date
    07-28-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    104

    Re: VLOOKUP based on partial match

    Post deleted because it is no longer relevant after seeing additional posts.
    Last edited by SlipEternal; 07-03-2017 at 11:40 AM.

  4. #4
    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 based on partial match

    Enter in B1 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B
    1 AAABBBCCC 1
    2 DDDEEEFFF 2
    3 GGGHHHIII 3
    4 JJJKKKLLL 4
    5 MMMNNNOOO 5
    6 PPPBBBQQQ 1
    7 RRRHHHSSS 3
    8 TTTNNNUUU 5
    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

  5. #5
    Forum Contributor
    Join Date
    05-21-2014
    Location
    United States
    MS-Off Ver
    Office 365 on Windows 10
    Posts
    122

    Re: VLOOKUP based on partial match

    Thank you everyone. That will work.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: VLOOKUP based on partial match

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Replies: 0
    Last Post: 09-21-2013, 09:03 PM
  2. Vlookup with only partial text match
    By betsy2128 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-18-2013, 08:03 AM
  3. [SOLVED] modified vlookup for partial match
    By jlax34 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-15-2012, 02:07 PM
  4. [SOLVED] VLOOKUP with partial match
    By Nekk in forum Excel General
    Replies: 7
    Last Post: 06-28-2012, 11:46 AM
  5. Partial Vlookup Match
    By OptionTrader in forum Excel General
    Replies: 12
    Last Post: 11-15-2009, 08:28 AM
  6. Vlookup - Partial Match
    By VegasL in forum Excel General
    Replies: 8
    Last Post: 06-08-2008, 03:25 AM
  7. Partial String Match Using VLOOKUP
    By cdhmotes in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-26-2005, 06:30 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