+ Reply to Thread
Results 1 to 3 of 3

Index Match: search for a string and return multiple values

  1. #1
    Registered User
    Join Date
    04-22-2020
    Location
    Tulsa, Oklahoma
    MS-Off Ver
    365
    Posts
    2

    Index Match: search for a string and return multiple values

    I'm looking to do a lookup, and I assume index match is the rout to go, but I'm not certain. The lookup value will always be a single line, but the column I'm searching for a match on may have multiple lines with a carriage return between them. There may be multiple matches at well. I've attached a small example with what I'm hoping for from the output. I tried using a lookup/search but I wasn't sure how to account for the carriage return. I assume Index/match is where to go next, but I wasn't sure how to handle the multiple matches. Any guidance would be greatly appreciated!
    Attached Files Attached Files

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

    Re: Index Match: search for a string and return multiple values

    Please try at E2

    =TEXTJOIN(CHAR(10),,IF(ISNUMBER(FIND(D2,$A$2:$A$30)),$B$2:$B$30,""))
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-22-2020
    Location
    Tulsa, Oklahoma
    MS-Off Ver
    365
    Posts
    2

    Re: Index Match: search for a string and return multiple values

    That appears to do the trick! And now I know how to use textjoin to help with this. Thanks 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. Replies: 10
    Last Post: 08-20-2018, 11:43 AM
  2. Replies: 7
    Last Post: 03-09-2018, 03:25 AM
  3. Return Multiple Match Values in Excel Using INDEX-MATCH
    By chris1089 in forum Excel General
    Replies: 10
    Last Post: 06-15-2017, 09:25 AM
  4. [SOLVED] Search a string from a column, and return multiple values
    By newroads in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-11-2015, 03:43 PM
  5. [SOLVED] Return Multiple values from a column with index and match, and search criteria
    By marcusduton in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 02-15-2015, 09:59 PM
  6. Using Index/Match to return multiple values for one match
    By superboy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-10-2014, 06:21 PM
  7. Need to look up a value and return multiple values-INDEX/MATCH?
    By abigail99 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-03-2012, 10: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