+ Reply to Thread
Results 1 to 4 of 4

Index Match - multiple criteria & multiple matches

  1. #1
    Registered User
    Join Date
    12-03-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Index Match - multiple criteria & multiple matches

    Hi, I would like to extract Bill cost from "rule" sheet and insert it to "data" sheet using index-match functions. My problem are multiple criteria and multiple matches.

    The criteria are Column: Cost type, Power, Penalty Category (The logic goes like AND function).
    And i want it to extract "Bills" value from "rule" sheet.

    There are multiple matches in all columns (Cost type, Power, Penalty Category) which cause wrong extraction.

    How do i solve this problem with index-match function? or, any other function to solve this problem?
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Index Match - multiple criteria & multiple matches

    welcome to the forum, suwandy. if the combination of the 3 columns are unique, try:
    =SUMIFS(Rule!D:D,Rule!A:A,A5,Rule!B:B,B5,Rule!C:C,C5)

    that will be faster. if you wish to use INDEX & MATCH, you have to use this array formula. calculates slower:
    =IFERROR(INDEX(Rule!$D$2:$D$21,MATCH(A5&B5&C5,Rule!$A$2:$A$21&Rule!$B$2:$B$21&Rule!$C$2:$C$21,0)),0)

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    12-03-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Index Match - multiple criteria & multiple matches

    Thank you benishiryo for your quick reply!

    That sumifs worked nicely! i couldn't figure out that sumifs function could be use this way.
    is it because of the criteria combination only direct to single output?

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Index Match - multiple criteria & multiple matches

    Quote Originally Posted by suwandy View Post
    is it because of the criteria combination only direct to single output?
    you're very welcome. yes, you're right. that's why i mentioned "if the combination of the 3 columns are unique"

+ 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. Index/Match multiple sheets multiple matches
    By matt1971 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-28-2013, 06:49 AM
  2. [SOLVED] INDEX MATCH array formula that matches substring n gives multiple matches
    By bkwins in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-12-2013, 04:57 AM
  3. Replies: 4
    Last Post: 07-18-2012, 02:34 PM
  4. Index Match Problem for multiple matches
    By Coldsteel in forum Excel General
    Replies: 3
    Last Post: 09-13-2010, 10:29 AM
  5. Multiple Matches - Index/Match
    By brdwlsh in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-26-2007, 12:00 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