+ Reply to Thread
Results 1 to 4 of 4

Trouble with wildcards in vlookup

  1. #1
    Registered User
    Join Date
    04-17-2020
    Location
    Colorado
    MS-Off Ver
    Excel 2016
    Posts
    2

    Trouble with wildcards in vlookup

    In the attached sheet, I am attempting to lookup a zip code located in column E to see which grouping of zips to which it belongs in column A, then return the Salesperson from column C. My vlookup using wildcards is not working and throwing an N/A error: =VLOOKUP("*" & E2 & "*", $A$2:$C$7, 3, FALSE). Both columns A and E are formatted as plain text.

    Thanks in advance for any help!
    Attached Files Attached Files
    Last edited by Beggerth; 04-17-2020 at 12:44 PM.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Trouble with wildcards in vlookup

    Try something like below...
    =LOOKUP(2,1/ISNUMBER(FIND(TEXT(E2,"@"),A2:A7)),C2:C7)
    "Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
    ― Robert A. Heinlein

  3. #3
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Trouble with wildcards in vlookup

    The problem is length of source in column A and yes Find can help but i recommend to add separators
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-17-2020
    Location
    Colorado
    MS-Off Ver
    Excel 2016
    Posts
    2

    Re: Trouble with wildcards in vlookup

    That worked, thank you very much!

+ 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. Using index, having trouble with wildcards
    By J.Anger in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-02-2018, 03:09 PM
  2. VLookUp wildcards
    By STk87 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-25-2015, 12:18 PM
  3. using wildcards in vlookup
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 09-06-2005, 07:05 AM
  4. [SOLVED] vlookup & wildcards
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 06:05 AM
  5. [SOLVED] using wildcards in vlookup
    By Alex in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  6. vlookup & wildcards
    By Alex in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. [SOLVED] using wildcards in vlookup
    By Alex in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

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