+ Reply to Thread
Results 1 to 3 of 3

Incorporating OR into Index Match

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    Adelaide
    MS-Off Ver
    Excel 2019
    Posts
    79

    Incorporating OR into Index Match

    G’day Excel forum

    I’m using the index match arrangement to lookup values using multiple criteria. I’m finding an issue in that one of the criteria is the presence of one of two pieces of text, that is, the match needs to be conditional on whether the target cell contains either “text 1” or “text 2”.

    I can make the range conditional on either individually, as follows;
    {=INDEX(Range,MATCH("Text_1"&Criteria_2,Criteria_1_Range&Criteria_Range_2,0),Column_no.)}
    … but I can’t work out how to incorporate the “text 1” OR “text 2” component.

    Anyone have any thoughts?

    Regards
    Matt

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Incorporating OR into Index Match

    Pls attach sample file with desired result
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    08-04-2009
    Location
    Golborne England
    MS-Off Ver
    2013
    Posts
    85

    Re: Incorporating OR into Index Match

    Hi

    Try testing for the existence of text 1 or text 2 in an if statement first an then add your Index / match if true. Then you can remove the reference to text 1 and text 2 from your match/index and it is simpler.

    Please Login or Register  to view this content.
    JimBibBowie

+ 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: 6
    Last Post: 04-30-2014, 02:42 AM
  2. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  3. Incorporating ROW into INDEX MATCH
    By wyndland in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-02-2013, 02:12 PM
  4. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  5. Replies: 5
    Last Post: 02-29-2012, 08:51 PM

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