+ Reply to Thread
Results 1 to 5 of 5

How to vlookup table array with wildcard?

  1. #1
    Registered User
    Join Date
    04-15-2022
    Location
    Bangkok
    MS-Off Ver
    Excel 2019
    Posts
    9

    Question How to vlookup table array with wildcard?

    Hi,

    Could anyone please help if it is possible to create vlookup with wildcards in table array? or how to create formula to lookup values in attached sample case?

    I need to transform extracted system account codes with related attributes into another system account format code. Column A are sample values of extracted codes and Column E are sample of transforming condition (The required attribute used for vlookup is the account code and the 2nd country name).

    Sample Case.png
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,081

    Re: How to vlookup table array with wildcard?

    Can the table array for lookup (column E) be changed to make this easier?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  3. #3
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,066

    Re: How to vlookup table array with wildcard?

    If you allowed the lookup array to be 2 characters for the country, then you could use something like this:

    Please Login or Register  to view this content.
    Screen Shot 2022-04-16 at 2.10.40 pm.png

    sample file attached
    Attached Files Attached Files
    As a gesture off appreciation, you can click * Add Reputation at the foot of any of the posts of members who helped you reach a solution.

    And finally, was your problem solved? if so, please click Thread Tools above the first post of your enquiry, then select [Solved]

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: How to vlookup table array with wildcard?

    Please try at B3

    =INDEX($F$3:$F$8,MATCH(1,INDEX(SEARCH(SUBSTITUTE($E$3:$E$8,"_","_*_"),A3),),))
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-15-2022
    Location
    Bangkok
    MS-Off Ver
    Excel 2019
    Posts
    9

    Re: How to vlookup table array with wildcard?

    Hi, Thank you everyone for your assistance.

    As the raw data will be extracted from system, the format cannot be changed.
    I am not familiar with Index & Match but the Formula from Bo_Ry work for me.
    I need to study more regarding these formula in order to apply for further usage.

+ 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. Use VLOOKUP using wildcard in the lookup table
    By EliotK in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-17-2021, 01:40 PM
  2. Lookup when table array contains wildcard
    By catfishlee2002 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-16-2020, 02:33 PM
  3. Use VLOOKUP table for reverse wildcard--find value contained within target
    By ozstrik3r69 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-08-2018, 09:22 AM
  4. Table Array with Wildcard involving partial URL match
    By tworoads in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-29-2014, 09:29 AM
  5. Using Array() with wildcard
    By ReeceT in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 08-18-2011, 04:36 AM
  6. Replies: 2
    Last Post: 02-23-2011, 07:24 AM
  7. vlookup table array wildcard?
    By liquidskin in forum Excel General
    Replies: 5
    Last Post: 03-27-2009, 09:52 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