+ Reply to Thread
Results 1 to 6 of 6

Partial Match for Vlookup

  1. #1
    Registered User
    Join Date
    06-13-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    75

    Partial Match for Vlookup

    I have a lengthy post code file that is simply one column with the post code and the second column is the name. The format for the name can vary. I know this is a simple vlookup but it is not giving me data when I am using * and concatenate for wildcard before and after.

    Sample file attached.

    The formula I am using is =VLOOKUP("*"&F1&"*",A:B,1,0) where the partial lookup value is in field f1.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Partial Match for Vlookup

    Try this in H1:
    =INDEX($A$1:$A$4,AGGREGATE(15,6,ROW($B$2:$B$4)/(SEARCH("*"&F1&"*",$B$2:$B$4)),1))

    By the way Vlookup can be applied only to the right of the value searched, not to the left.

  3. #3
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Partial Match for Vlookup

    Just take into account that if you search the word "Amembassy" that appears both in lines 2 & 3 the answer will bring the 1st match, meaning - '102'

  4. #4
    Registered User
    Join Date
    06-13-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    75
    Quote Originally Posted by belinda200 View Post
    Just take into account that if you search the word "Amembassy" that appears both in lines 2 & 3 the answer will bring the 1st match, meaning - '102'
    Belinda,

    Thanks fir letting me know the options. I will just move the code column to be the 2nd column and use my original formula.

    Hank

  5. #5
    Registered User
    Join Date
    06-13-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    75

    Re: Partial Match for Vlookup

    Belinda,

    Thanks fir letting me know the options. I will just move the code column to be the 2nd column and use my original formula.

  6. #6
    Registered User
    Join Date
    06-13-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    75
    Belinda,

    Thanks fir letting me know the options. I will just move the code column to be the 2nd column and use my original formula.

+ 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 partial match help
    By neljan in forum Excel General
    Replies: 2
    Last Post: 04-17-2019, 07:01 AM
  2. Vlookup for partial match
    By scusack1 in forum Excel General
    Replies: 4
    Last Post: 07-26-2018, 01:34 PM
  3. VLOOKUP with a Partial Match
    By pluto_ljd in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-17-2018, 01:28 PM
  4. [SOLVED] modified vlookup for partial match
    By jlax34 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-15-2012, 02:07 PM
  5. [SOLVED] VLOOKUP with partial match
    By Nekk in forum Excel General
    Replies: 7
    Last Post: 06-28-2012, 11:46 AM
  6. Partial Vlookup Match
    By OptionTrader in forum Excel General
    Replies: 12
    Last Post: 11-15-2009, 08:28 AM
  7. Vlookup - Partial Match
    By VegasL in forum Excel General
    Replies: 8
    Last Post: 06-08-2008, 03:25 AM

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