+ Reply to Thread
Results 1 to 3 of 3

Partial text vlookup

  1. #1
    Forum Contributor
    Join Date
    01-05-2011
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    243

    Partial text vlookup

    I am looking for a macro to partial text match vlookup between two sheets.

    Sheet1 - Monthly Report
    Column A
    Vijay
    David
    United States

    Sheet 2 - Master
    Column A
    Vijayanand
    Davidson
    United States

    I need a vlookup that will find any partial text in Monthly report matches in the master report. For eg. Vijay in monthly report is partially matched with Vijayanand in Master report.

    Regards,
    Vijay

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Partial text vlookup

    Try

    =INDEX(Master!A:A,MATCH('Monthly Report'!A2&"*",Master!A:A,0))
    Last edited by Bob Phillips; 01-06-2011 at 05:35 AM.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Partial text vlookup

    can you outline where the results are being listed - it's not clear - and the order in terms of criteria and lookup_array is of importance re: solution.

    If matching Monthly to Master as per Bob's post then see his example - going the other way around the approach would be different.
    Last edited by DonkeyOte; 01-06-2011 at 05:37 AM. Reason: edit: modified per Bob's edit (addition of wildcards)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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