+ Reply to Thread
Results 1 to 3 of 3

VLOOKUP with Wildcard Text Search - Need some help

  1. #1
    Registered User
    Join Date
    08-07-2006
    Location
    Southern California
    Posts
    6

    VLOOKUP with Wildcard Text Search - Need some help

    Hello All - I have a two tabbed spreadsheet that I'm having trouble getting VLOOKUP to work in.

    Col A of Wksht 1 contains a string of text "TRAVEL EXPENSE - HGG: DD". Wksht 2 contains a running list of abbreviations like HGG in Col A and an expanded description in Col B "Hitchikers Guide Galaxy". Col A in Wksht 1 does vary sometimes in that some words might be abbreviated or spaced differently but the abbreviation will always tie out against the abbreviation in Wksht2.

    I need to search text in Wksht 1, cross-reference Col A Wksht 2 and return the matching expanded description from Col B Wksht 2.

    Ive tried =VLOOKUP("*"&A1&"*",Wksht2!$A1:$A50,2,TRUE) with no success. I keep getting an #N/A error.

    Col A, Wksht 1 is not sorted alpha due to a prevailing system hierarchy, however Col A Wksht 2 is.

    Can anyone assist? Happy to use Index/Match if that is simpler.

    Thanks,
    DerekBlain
    Last edited by derekblain; 11-03-2014 at 04:52 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: VLOOKUP with Wildcard Text Search - Need some help

    Try =VLOOKUP("*"&A1&"*",Wksht2!$A1:$A50,2,FALSE)

    If that doesnt work, upload a small sample workbook
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-07-2006
    Location
    Southern California
    Posts
    6

    Re: VLOOKUP with Wildcard Text Search - Need some help

    Thanks for the quick reply. Ya, changing true to false didn't get rid of the #N/A error. I'll try and upload something when I have a moment to do so. Thanks again.

+ 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. Wildcard search using vlookup
    By hammer180 in forum Excel General
    Replies: 6
    Last Post: 07-08-2011, 04:35 PM
  2. [SOLVED] Wildcard search functions within Vlookup
    By Benn in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  3. [SOLVED] Wildcard search functions within Vlookup
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 11:05 AM
  4. Wildcard search functions within Vlookup
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 06:05 AM
  5. Wildcard search functions within Vlookup
    By Benn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-26-2005, 09:05 AM

Tags for this Thread

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