+ Reply to Thread
Results 1 to 10 of 10

Index Match Function With more then two match criteria.

  1. #1
    Registered User
    Join Date
    11-25-2021
    Location
    India
    MS-Off Ver
    2016
    Posts
    54

    Index Match Function With more then two match criteria.

    I tried Index Match combined to get value with more then two match, I Getting Value error. which is best approach please help.
    Index.xlsxIndex.xlsx

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

    Re: Index Match Function With more then two match criteria.

    Try this:

    =FILTER(Table1[Amount],(Table1[Student Name]=$B5)*(Table1[Sub Cat.]=C$4)*(Table1[F-Y]=$F$2))
    Attached Files Attached Files
    Last edited by AliGW; 05-03-2023 at 02:48 AM. Reason: Workbook added.
    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
    11-25-2021
    Location
    India
    MS-Off Ver
    2016
    Posts
    54

    Re: Index Match Function With more then two match criteria.

    In my Excel version Filter formula is not working instead of filter can we use Index+Match or any other formula.
    Last edited by AliGW; 05-03-2023 at 04:40 AM. Reason: Please do NOT quote unnecessarily!

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Index Match Function With more then two match criteria.

    maybe this... =SUMPRODUCT(($B5=Sheet2!$C$4:$C$58)*(C$4=Sheet2!$D$4:$D$58),Sheet2!$G$4:$G$58)
    in sheet1 cell C5 dragged down and right.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    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,869

    Re: Index Match Function With more then two match criteria.

    Quote Originally Posted by meraz View Post
    In my Excel version Filter formula is not working.
    Have you changed your profile? I was sure it said 2021 this morning, which is why I suggested FILTER.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Index Match Function With more then two match criteria.

    C5, copied across and dnown:

    =IFERROR(INDEX(INDEX(Table1,,6),MATCH(1,INDEX((INDEX(Table1,,2)=$B5)*(INDEX(Table1,,4)=$F$2)*(INDEX(Table1,,3)=C$4),0),0)),"")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  7. #7
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,782

    Re: Index Match Function With more then two match criteria.

    Sheet1

    C5=SUMIFS(Sheet2!$G$4:$G$100,Sheet2!$E$4:$E$100,Sheet1!$F$2,Sheet2!$D$4:$D$100,Sheet1!C$4,Sheet2!$C$4:$C$100,Sheet1!$B5)

    Copy across and down

  8. #8
    Registered User
    Join Date
    11-25-2021
    Location
    India
    MS-Off Ver
    2016
    Posts
    54

    Re: Index Match Function With more then two match criteria.

    Quote Originally Posted by Sam Capricci View Post
    maybe this... =SUMPRODUCT(($B5=Sheet2!$C$4:$C$58)*(C$4=Sheet2!$D$4:$D$58),Sheet2!$G$4:$G$58)
    in sheet1 cell C5 dragged down and right.
    Thankyou for your suggestion its really worked well.

  9. #9
    Registered User
    Join Date
    11-25-2021
    Location
    India
    MS-Off Ver
    2016
    Posts
    54

    Re: Index Match Function With more then two match criteria.

    Quote Originally Posted by AliGW View Post
    Have you changed your profile? I was sure it said 2021 this morning, which is why I suggested FILTER.
    Sorry for the confusion I did change my profile, any way i tested your suggestion in google sheet. it worked well. Thankyou for your effort.

  10. #10
    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,869

    Re: Index Match Function With more then two match criteria.

    No wonder it didn't work, then!!!

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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. VBA function to match multiple criteria faster than vlookup or index match
    By bkav1991 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-09-2020, 09:14 AM
  2. Replies: 7
    Last Post: 10-03-2019, 11:23 AM
  3. [SOLVED] Index Match using max function and another criteria?
    By Katie620 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-10-2019, 10:41 AM
  4. Need help in Index, Match usage to match multiple criteria in sum function
    By Summer0830 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2017, 02:47 AM
  5. [SOLVED] Index Match 3 criteria function!!!!!!
    By Shellybelly in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-05-2015, 03:34 PM
  6. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  7. Index Function - Match 2 criteria
    By jamessaunders in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-28-2007, 08:02 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