+ Reply to Thread
Results 1 to 3 of 3

Index Match partial text with multiple criteia

  1. #1
    Registered User
    Join Date
    02-26-2021
    Location
    Buenos Aires, Argentina
    MS-Off Ver
    Office365
    Posts
    2

    Index Match partial text with multiple criteia

    Hi,

    I'd appreciate if anyone could help correct the below formula I have written.

    =INDEX(Daily[Date],MATCH(1,(("*"&Mem_Payment[Name]&"*"=Daily[Detail])*(Daily[Membership]<>"")*(Daily[Date]>=H$1)*(Daily[Date]<=H$2)),0))

    Basically I was trying to use INDEX/MATCH to look up all names from G that contains in B and return the result from A
    In addition, there are multiple criterias:
    1) For every B, D can't be blank
    2) Return results in H should be dates in A that are within H Starting date and ending date. Same for column I.

    In the file, I have manually put the final value that it should be.

    Hope I make some sense, since I personally got lost in there.

    Thanks in advance.
    Last edited by Tenkaku; 03-04-2021 at 10:52 AM.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Index Match partial text with multiple criteia

    Create name: Min and Max to get the first and last date:

    Min:
    =AGGREGATE(15,6,Daily[Date]/(LEN(","&SUBSTITUTE(Daily[Detail],", ",",")&",")-LEN(SUBSTITUTE(","&SUBSTITUTE(Daily[Detail],", ",",")&",",","&Sheet1!$G4&",",""))>0),1)
    change 15,6 to 14,6 for Max

    Then in H4:
    =IF(Min>=$I$1,"",Min)

    I4:
    =IF(Max<$I$1,"",Max)
    Quang PT

  3. #3
    Registered User
    Join Date
    02-26-2021
    Location
    Buenos Aires, Argentina
    MS-Off Ver
    Office365
    Posts
    2

    Re: Index Match partial text with multiple criteia

    Wonderful!
    Though this is another level of approaching it. It will take me a while to understand it.
    For now, I shall apply it in the original complexed data and hope that it works after some minor adaptations.
    Thanks a lot Bebo.

+ 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] Index match 2 items returning multiple results & search for partial text
    By billrogers184 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-25-2020, 01:45 PM
  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 Multiple criteia Giving zero value
    By lauren11 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-04-2019, 01:15 AM
  4. [SOLVED] Partial Text Match with Index/Match
    By iammaximus in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-22-2019, 09:44 PM
  5. Index match partial text in cell
    By ymcata in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-30-2015, 05:45 AM
  6. [SOLVED] INDEX MATCH Multiple Output with Partial Match
    By Ray Storm in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-02-2015, 12:05 AM
  7. Replies: 2
    Last Post: 09-27-2014, 04:34 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