+ Reply to Thread
Results 1 to 6 of 6

Index Match using multiple criteria

  1. #1
    Registered User
    Join Date
    02-11-2014
    Location
    Cardiff, Wales
    MS-Off Ver
    Excel 2007
    Posts
    3

    Index Match using multiple criteria

    Hi,

    I have used an array formula to calculate the max value of a column based on a set of criteria e.g. {=MAX('Request List'!AN$3:AN$392)*('Request List'!$E$3:$E$392="Complete")*('Request List'!$F$3:$F$392=Sheet1!$B4)*('Request List'!$A$3:$A$392>=Sheet1!$C$1))}. I now want to find that max value and offset it by x columns to return the text label of who this value refers to. I think I need an index match function combintation but my trial and error has failed so for.

    All help gratefully received.

    Sarah

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Index Match using multiple criteria

    Perhaps something like this?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Index Match using multiple criteria

    Hi and welcome to the forum!

    Just to add to Fotis's post, and assuming that the column over which you are taking the maximum is column AN (it's not completely clear from your given formula), and that the column from which you wish to return the corresponding result is e.g. B, you would need something along the lines of this array formula**:

    =INDEX('Request List'!$B$3:$B$392,MATCH(MAX(IF(('Request List'!$E$3:$E$392="Complete")*('Request List'!$F$3:$F$392=Sheet1!$B4)*('Request List'!$A$3:$A$392>=Sheet1!$C$1),'Request List'!AN$3:AN$392)),IF(('Request List'!$E$3:$E$392="Complete")*('Request List'!$F$3:$F$392=Sheet1!$B4)*('Request List'!$A$3:$A$392>=Sheet1!$C$1),'Request List'!AN$3:AN$392),0))

    Regards


    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Index Match using multiple criteria

    (Self-deleted. Duplicate post)

  5. #5
    Registered User
    Join Date
    02-11-2014
    Location
    Cardiff, Wales
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Index Match using multiple criteria

    Thanks both. XOR LX that worked perfectly.

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Index Match using multiple criteria

    You're welcome!

+ 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 with Multiple Criteria
    By celestealexandra in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-04-2013, 08:35 PM
  2. Index/Match Multiple Criteria
    By ertweety in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-07-2013, 11:42 AM
  3. Using INDEX/MATCH/MAX Multiple Criteria
    By Taquiq in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-27-2013, 04:48 PM
  4. Multiple criteria on an Index match
    By jkay2089 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-24-2012, 10:53 AM
  5. Multiple Criteria INDEX MATCH MAX
    By sweep in forum Excel General
    Replies: 4
    Last Post: 04-25-2007, 08:08 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