+ Reply to Thread
Results 1 to 2 of 2

Xlookup with wildcards?

  1. #1
    Registered User
    Join Date
    07-30-2020
    Location
    London
    MS-Off Ver
    365
    Posts
    46

    Xlookup with wildcards?

    Hi,

    I think this should be quite simple... lets hope anyway!

    Looking to return multiple values from a single lookup value.

    In the attached... populate column M by looking up values in column L from values in row 2 (on both sheets), returning back values in row 1.

    As you can see the values in row 2 are not 'identical' but will always start with the value I'm looking up... e.g. I want values corresponding to "A" to return: "A", "A1" "AcF"
    (in reality, these will be numbers, so don't worry about the A...AA,AB,AC issue you'd get after 26 rows)

    Is it also possible to return them in an array if multiple "A"'s are found (as in the file)? - either returned as the sample arrays below in L14 and L19 - i.e. can we return them adjacent to the search term in multiple columns (L14)... or insert rows to accommodate multiple return values (L19)

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Xlookup with wildcards?

    Sheet1

    M2=IFERROR(FILTER($A$1:$F$1,LEFT($A$2:$F$2,1)=$L2),"")

    Copy down
    Attached Files Attached Files

+ 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. [SOLVED] Xlookup in PQ
    By Excelski in forum Excel General
    Replies: 7
    Last Post: 09-09-2021, 07:15 AM
  2. Using Xlookup in Macro
    By PrimePorkchop in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-10-2021, 05:33 AM
  3. [SOLVED] Xlookup with Wildcards
    By dharvey1978 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-29-2021, 11:50 PM
  4. Two-way Xlookup
    By Ballet4ever in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-28-2021, 10:11 PM
  5. [SOLVED] Xlookup with VBA, need some help!
    By CSimm in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-19-2021, 03:14 PM
  6. Xlookup & sum
    By lynusann in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-19-2020, 11:04 PM
  7. Can xlookup function be used in VBA?
    By jaryszek in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-22-2020, 02:20 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