+ Reply to Thread
Results 1 to 4 of 4

How to use multiple Index and Match in the multiple conditions

  1. #1
    Registered User
    Join Date
    09-25-2012
    Location
    Seattle
    MS-Off Ver
    Excel 2010
    Posts
    49

    How to use multiple Index and Match in the multiple conditions

    Hi,

    I'm having a difficulty in finding the right Index and Match formula to match several variables either vertically and horizontally.
    Thank you so much,
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: How to use multiple Index and Match in the multiple conditions

    Well, from your description in the workbook, this should work:

    =IFNA(INDEX(Repair!$F$2:$F$7,MATCH(A2,Repair!$A$2:$A$7,0)),IF(C2="SYS",INDEX(PN!$E$2:$E$7,MATCH(A2,PN!$D$2:$D$7,0)),B2))

    Howver, thre are no possible matches in the PN table, so you are going to need to tell us what the expected outcomes are.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    09-25-2012
    Location
    Seattle
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: How to use multiple Index and Match in the multiple conditions

    Thank you AliGW,

    =IFNA(INDEX(Repair!$F:$F,MATCH(Data!A4,Repair!$A:$A,0)),IF(Data!C4="SYS",INDEX(PN!$B$2:$G$7,MATCH(Data!D4,PN!$B$1:$G$1,0),MATCH(Data!E4,PN!$A$2:$A$7,0)),Data!B4))

    I reattached the sample1 - somehow column G4 returns as 0 which was supposed to be P19087-02 not sure why and how do I change #N/A in column G7 to return as blank instead.

    Thanks again,
    Attached Files Attached Files
    Last edited by zamal264; 05-14-2020 at 07:13 PM.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: How to use multiple Index and Match in the multiple conditions

    Try the following modification the formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Help with INDEX MATCH with Multiple Conditions
    By sumitv2 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-28-2020, 10:56 PM
  2. Index Match to with multiple conditions
    By roman22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-21-2019, 08:20 PM
  3. multiple(4) index match conditions
    By Maulover in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-12-2017, 03:55 PM
  4. multiple(4) index match conditions
    By Maulover in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2017, 01:10 PM
  5. Replies: 2
    Last Post: 12-18-2014, 09:52 AM
  6. Replies: 13
    Last Post: 12-13-2012, 11:44 AM
  7. Index + Multiple Match Conditions??
    By Spellbound in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-01-2007, 04:07 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