+ Reply to Thread
Results 1 to 3 of 3

Find last date matching multiple criteria

  1. #1
    Registered User
    Join Date
    01-09-2014
    Location
    Leeds, England
    MS-Off Ver
    Excel 365
    Posts
    72

    Find last date matching multiple criteria

    Example.xlsx

    Hello everybody. Hopefully someone can help me with a problem I'm having.

    I have attached an example spreadsheet. I am trying to find the first (smallest) and last (greatest) dates in column A which match certain criteria in columns B, C and D.

    The qualifying rows (in columns B,C and D) would be AAA, AAB, BAA and BAB. I have highlighted the qualifying rows in the table yellow.

    I have used an array formula using MIN, INDEX and MATCH in cell B16 to successfully find the first date (15/2/1988), but producing the last (1/3/1989) in B18 is proving more problematic.

    Does anybody know how I might do this?

    Thanks in advance,

    Simon.

    P.S. I need the cell to return "None" if there are no matching rows, hence the use of IFERROR and 999999 in my first formula. I'm sure this formula could be done better, but at least it works.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Find last date matching multiple criteria

    Try these ARRAY FORMULAS, completed by holding down CTRL and SHIFT when you press ENTER (instead of just pressing ENTER)

    Min:
    Please Login or Register  to view this content.
    Max:
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    01-09-2014
    Location
    Leeds, England
    MS-Off Ver
    Excel 365
    Posts
    72

    Re: Find last date matching multiple criteria

    That's great, thank you. I think I understand how it works too.

+ 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] Find first date matching criteria
    By NapB9 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-07-2012, 09:04 PM
  2. [SOLVED] Find Min Date from Multiple Criteria
    By STEELEMAN5000 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-19-2012, 12:13 PM
  3. Replies: 12
    Last Post: 06-29-2012, 10:13 AM
  4. Find Matching Value based on multiple criteria
    By Sisonkemdala in forum Excel General
    Replies: 2
    Last Post: 05-09-2011, 07:26 AM
  5. Multiple Criteria and Partial Date Matching
    By GreatLakesJK in forum Excel General
    Replies: 7
    Last Post: 07-08-2010, 11:03 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