+ Reply to Thread
Results 1 to 4 of 4

INDEX MATCH for multiple criteria

  1. #1
    Registered User
    Join Date
    07-17-2019
    Location
    Detroit
    MS-Off Ver
    Excel 2013
    Posts
    2

    INDEX MATCH for multiple criteria

    I am trying to pull from a database with multiple columns and match criteria to vertical rows. Here is my formula.

    =IFERROR(INDEX(name,MATCH(1,($B$1=INDEX(Table1, ,$C$1))*($A$4=shift)*(B$5=unit)*($A$6=job),0)),)

    My data is pulling correct information but only one value when multiple values exist. How could I add a SMALL function to this formula?

  2. #2
    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: INDEX MATCH for multiple criteria

    Hello chaps07187. Welcome to the forum.

    As you have discovered the MATCH/LOOKUP type functions return the first match they find. To return multiple values we typically assign index (row or column) numbers, then return those and pass them to INDEX.

    Try this in first output cell and fill down until you get blanks.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  3. #3
    Registered User
    Join Date
    07-17-2019
    Location
    Detroit
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: INDEX MATCH for multiple criteria

    Thank you this solved all issues

    What does AGGREGATE(15,6, refer to?

  4. #4
    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: INDEX MATCH for multiple criteria

    You are welcome. Thank you for the feedback.\

    AGGREGATE is like the "Swiss Army Knife" of functions. It can perform 19 different functions each referenced by number. 15 is the Small function and does everything that the stand alone SMALL function does.

    The 6 is one of several options to ignore errors. In this case it ignores an array dominated by #DIV/0! errors.

    While this formula is an array formula AGGREGATE usually removes the requirement that it be committed with Ctrl + Shift + Enter and can be committed with just plain Enter.

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

    Edit If you are interested in more you might like this link. http://www.exceluser.com/excel_help/...-aggregate.htm
    Last edited by FlameRetired; 07-19-2019 at 11:12 AM.

+ 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 Match with multiple criteria and date criteria
    By snolem75 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-28-2018, 03:51 PM
  2. Replies: 16
    Last Post: 01-05-2018, 11:04 PM
  3. 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
  4. Index/Match to Match entries on multiple criteria
    By manning457 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-06-2015, 02:32 PM
  5. [SOLVED] INDEX/MATCH with Multiple MATCH criteria ?
    By KomicJ in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-17-2015, 09:04 AM
  6. [SOLVED] Index Match with Multiple Criteria Using Same Criteria Column
    By rominjn in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-05-2015, 11:34 AM
  7. Replies: 2
    Last Post: 09-27-2014, 04:34 PM

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