+ Reply to Thread
Results 1 to 3 of 3

Min/Max Index Match w/ multiple criteria - Troubleshooting

  1. #1
    Registered User
    Join Date
    09-24-2013
    Location
    Attleboro, MA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Min/Max Index Match w/ multiple criteria - Troubleshooting

    Attached is a basic example version of the file im working on. Basically, the example im going to use is that i need to know how long "Tom" was working on the "2nd FLOOR". I have data on sheet 2 that have rows with columns like Name, Area, and Time. This index formula im working on needs to look at all the "Times" where in that row the name is "Tom" and area is also "2nd Floor", and give me the earliest "Time" in cell C2 in Sheet1 using MIN INDEX MATCH. Then finding the latest "Time" using MAX INDEX MATCH in cell D2 in Sheet1.

    I'm having a lot of difficulty and so far have been unsuccesful. I would love to learn this formula so does anybody have any suggestions?
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Min/Max Index Match w/ multiple criteria - Troubleshooting

    =MIN(IF(Sheet2!$A$2:$A$61=Sheet1!$A2,IF(Sheet2!$B$2:$B$61=Sheet1!$B2,Sheet2!$C$2:$C$61)))

    =MAX(IF(Sheet2!$A$2:$A$61=Sheet1!$A2,IF(Sheet2!$B$2:$B$61=Sheet1!$B2,Sheet2!$C$2:$C$61)))

    Both entered as arrays, using Ctrl+Shift+Enter

    Note: The highlighted range on your example does not match the criteria listed on the first tab.

    (You have 2nd floor highlighted, criteria on first tab is 1st floor)
    Last edited by daffodil11; 09-24-2013 at 11:53 AM.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Min/Max Index Match w/ multiple criteria - Troubleshooting

    Hi Jam and welcome to the forum,

    This problem looks like a Pivot Table answer to me. Pivot tables allow Minimum and Maximum values to be displayed and they sort and filter. I built a Pivot of your data on sheet2 and displayed the Min and Max times for each person on each floor. Then with a simple subtraction formula and change of display to Time the answer appears. See the attached for what I did.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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. Using INDEX/MATCH/MAX Multiple Criteria
    By Taquiq in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-27-2013, 04:48 PM
  2. Multiple criteria on an Index match
    By jkay2089 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-02-2012, 08:39 AM
  3. Index and match with multiple criteria
    By felixpanganiban in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-04-2012, 01:06 PM
  4. Index & Match with Multiple criteria
    By connollet in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-03-2012, 03:07 PM
  5. VBA Multiple Criteria Index Match
    By blablah in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-01-2012, 07:49 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