+ Reply to Thread
Results 1 to 4 of 4

Index match on multiple criteria/ results

  1. #1
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    Index match on multiple criteria/ results

    I need a formula to output an email address on sheet output as shown in the attached file when the data in sheet "X47" column J says "Email" and the data in "X47" column A has the same date as inputted in "Output" C2. Any help would be most appreciated.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Index match on multiple criteria/ results

    You can use this arrayed formula

    =IFERROR(INDEX('X47'!$J$2:$J$100, SMALL(IF('X47'!$A$2:$A$100=$C$2, ROW($A$2:$A$100)-ROW($A$2)+1), ROWS($A$2:$A2))),"")

    ...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.

    Your sheet is on manual calculation so hit F9 after dragging the formula down.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Index match on multiple criteria/ results

    Try


    =IFERROR(INDEX('X47'!$J$2:$J$100,SMALL(IF(('X47'!$A$2:$A$100=Output!$C$2)*('X47'!$X$2:$X$100="Email"),ROW($A$2:$A$100)-ROW($A$2)+1,""),ROWS($A$2:A2))),"")


    Enter with Ctrl+Shift+enter

    Copy down

    Column X has "Email" not J

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Index match on multiple criteria/ results

    As regular formula


    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by AlKey; 11-06-2015 at 10:58 AM. Reason: Updated formula
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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] Sum of multiple index/match results
    By kawaik in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-25-2015, 10:03 PM
  2. Sort filtered results of INDEX/MATCH from drop down using 3 criteria
    By lorikgator in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-13-2015, 05:33 PM
  3. Index / Match with 2 Criteria showing all results
    By corhrtz in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-28-2014, 05:56 PM
  4. [SOLVED] Index/Match function to count my criteria results once
    By superboy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-14-2014, 02:29 PM
  5. Replies: 0
    Last Post: 05-22-2014, 04:17 AM
  6. [SOLVED] How to index and match multiple criteria without repeating results?
    By PistachioPedro in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-20-2013, 05:38 PM
  7. Replies: 0
    Last Post: 03-02-2012, 11:16 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