+ Reply to Thread
Results 1 to 5 of 5

Index Match with Criteria - return list

  1. #1
    Registered User
    Join Date
    06-14-2017
    Location
    Atlanta,
    MS-Off Ver
    Microsoft Excel 2016 MSO
    Posts
    55

    Index Match with Criteria - return list

    Hi guys here's what I'm trying to do. See Dummy data attached

    In Column BH6:BH16, I need the function to look up the value in BG6 and match that with row 4, look up the value in column BI6:BI16 and match the values in row 36, and then return the value in row 5 (i.e., the output). The twist is that some of the values in BI6:BI16 could be the same but the output's should not be repeated.

    In this example, the value 103 is repeated three times but each "103" could correspond to one of three different outputs. I've included the actual answers that should be shown in column BJ6:BJ16.

    Thank you for the help!
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Index Match with Criteria - return list

    Please try BH6

    =LOOKUP(1,1/($C$4:$BE$4=$BG$6)/($C$36:$BE$36=BI6),$C$5:$BE$5)

  3. #3
    Registered User
    Join Date
    06-14-2017
    Location
    Atlanta,
    MS-Off Ver
    Microsoft Excel 2016 MSO
    Posts
    55

    Re: Index Match with Criteria - return list

    Hi Bo, thanks for always helping.

    That worked for all values EXCEPT the ones that repeat. It returned the same output for BH8:BH10 when they should be different outputs.

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Index Match with Criteria - return list

    Please try at BH6

    =INDEX($5:$5,AGGREGATE(15,6,COLUMN(C$4:BE$4)/($C$4:$BE$4=$BG$6)/($C$36:$BE$36=BI6),COUNTIF(BI$6:BI6,BI6)))

    and BI6
    =AGGREGATE(14,6,$C$36:$BE$36/($C$4:$BE$4=$BG$6),ROWS(BI$6:BI6))

  5. #5
    Registered User
    Join Date
    06-14-2017
    Location
    Atlanta,
    MS-Off Ver
    Microsoft Excel 2016 MSO
    Posts
    55

    Re: Index Match with Criteria - return list

    Yup, worked like a charm. Thank you! I'm finally done with this project and can stop bugging y'all lol.

+ 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 Help to return value based on 2 criteria
    By klkenny in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 06-20-2018, 10:28 PM
  2. [SOLVED] Match 2 criteria with INDEX to return value from another cell
    By billrogers184 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-01-2018, 05:32 PM
  3. [SOLVED] Combining 3 Formulas: Return all Names that Match Criteria Using Index/Match
    By bchilme in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-29-2014, 09:28 AM
  4. [SOLVED] INDEX MATCH trying to return a value between two criteria.
    By cyberkidkiller in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-19-2014, 09:48 AM
  5. [SOLVED] Using Index Match with a Criteria to return a minimum
    By david0985 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-18-2014, 12:59 PM
  6. Index Match using two criteria to return on of criteria values
    By RogueLeader in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-17-2014, 09:50 AM
  7. Replies: 1
    Last Post: 11-06-2013, 08:37 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