+ Reply to Thread
Results 1 to 3 of 3

Index match 2 items returning multiple results & search for partial text

  1. #1
    Forum Contributor
    Join Date
    05-08-2015
    Location
    Asheville NC
    MS-Off Ver
    Excel for Office 365 MSO
    Posts
    111

    Index match 2 items returning multiple results & search for partial text

    I'm trying to create various methods of searching the same data using different criteria.

    One method is using the index match function to return other cell information by matching 2 criteria. I can get it to return results if the criteria are unique. However, sometimes I have different results which are not returned because the index match stops at the first "true" match. See cell I2-I5.

    Secondly, I'm trying to search for partial text in a column (see cell L2) by searching for the text criteria I enter in L1.

    Thank you for any guidance and support.

  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 2 items returning multiple results & search for partial text

    Please try at
    H2
    =IF(ROWS(H$1:H1)>COUNTIFS($B$1:$B$45,$H$1),"",INDEX(C$1:C$45,SMALL(IF($B$1:$B$45=$H$1,ROW($B$1:$B$45)),ROWS(H$1:H1))))
    Confirm by Ctrl+Shift+Enter
    copy to H2:L45

    L2
    =IF(ROWS(L$2:L2)>COUNTIF($C$1:$C$45,"*"&$L$1&"*"),"",INDEX($A$1:$D$45,SMALL(IF(ISNUMBER(SEARCH($L$1,$C$1:$C$45)),ROW($C$1:$C$45)),ROWS(L$2:L2)),COLUMNS($L2:L2)*3-2))

    Confirm by Ctrl+Shift+Enter
    copy to L2:M45

  3. #3
    Forum Contributor
    Join Date
    05-08-2015
    Location
    Asheville NC
    MS-Off Ver
    Excel for Office 365 MSO
    Posts
    111

    Re: Index match 2 items returning multiple results & search for partial text

    AWESOME! Thank You!

+ 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. INDEX and MATCH returning multiple results from a range
    By tv2account in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-05-2020, 09:36 AM
  2. [SOLVED] Find latest date with INDEX MATCH with multiple criteria & partial text
    By billrogers184 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-20-2019, 01:52 PM
  3. [SOLVED] Index/Match combining with Search (partial text string)
    By iasinschi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-29-2018, 05:08 PM
  4. Index/Match or VLookup returning Multiple Results
    By Stoppeh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2014, 08:31 PM
  5. Replies: 0
    Last Post: 05-15-2013, 05:05 AM
  6. [SOLVED] Search for a partial string match and cycle through matching results
    By kamelkid2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-08-2013, 08:27 AM
  7. [SOLVED] Using Index and Match to search an array that has multiple items in each cell
    By tdlewis in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-20-2012, 08:45 PM

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