+ Reply to Thread
Results 1 to 5 of 5

What am I doing wrong with this index match formula with multiple criteria

  1. #1
    Registered User
    Join Date
    06-17-2020
    Location
    Canada
    MS-Off Ver
    2019
    Posts
    27

    What am I doing wrong with this index match formula with multiple criteria

    I'm hoping to create a formula in the highlighted yellow cells in Sheet A that will pull in the result from Sheet B, if it matches two particular criteria.

    I've attached an example sheet.

    I'm hoping that the formula in B2 in Sheet A, can populate with the correct data in Sheet B if the project id and question id match.

    =INDEX('Sheet B'!B2:B7,MATCH(C2&A2,INDEX('Sheet B'!$A$2:$A$7&'Sheet B'!$D$2:$D$7,0))) is giving me an error of #n/a or 0, and can't figure out why

    Thanks in advance for the help!
    Attached Files Attached Files
    Last edited by michlam; 05-10-2022 at 09:26 AM.

  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,647

    Re: What am I doing wrong with this index match formula with multiple criteria

    Try this:

    =INDEX('Sheet B'!$B$2:$B$7,MATCH(1,('Sheet B'!$A$2:$A$7=A2)*('Sheet B'!$D$2:$D$7=C2),0))
    Attached Files Attached Files
    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
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: What am I doing wrong with this index match formula with multiple criteria

    Ali, in Excel 2019 will the OP need to array enter this formula?
    Dave

  4. #4
    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,647

    Re: What am I doing wrong with this index match formula with multiple criteria

    Possibly!

    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).

  5. #5
    Registered User
    Join Date
    06-17-2020
    Location
    Canada
    MS-Off Ver
    2019
    Posts
    27

    Re: What am I doing wrong with this index match formula with multiple criteria

    Thank you!! this worked

+ 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 formula with multiple match criteria
    By papgar in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-02-2019, 05:31 AM
  2. Index, match large with multiple criteria pulling wrong record
    By markclary in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-29-2017, 08:00 AM
  3. Index, match large with multiple criteria pulling wrong record
    By markclary in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-28-2017, 02:33 PM
  4. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  5. [SOLVED] INDEX MATCH Multiple Criteria Formula Help
    By garrett.grillo in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 09-25-2014, 10:55 PM
  6. Index match formula for multiple criteria
    By nellyc in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-03-2014, 12:03 PM
  7. Excel 2007 : Index Match Multiple Criteria Formula
    By paddyboy in forum Excel General
    Replies: 17
    Last Post: 03-17-2012, 12:01 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