+ Reply to Thread
Results 1 to 4 of 4

Returning latest date multiple criteria are met

  1. #1
    Registered User
    Join Date
    06-15-2020
    Location
    Newcastle, UK
    MS-Off Ver
    2007
    Posts
    33

    Returning latest date multiple criteria are met

    Hi

    I was wondering if anyone could help with a formula I'm trying to get right.

    I'm looking for it to return the most recent date (from column A) which either of two criteria have been met (drop-down list from column B).

    I've been messing around with a MAX IF formula which I can't get to work but I'm possibly on a completely wrong track doing that. I've attached a mockup spreadsheet which I hope shows what I mean better than I can explain it, along with the formula I've already been trying.

    Many thanks

    Jay
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: Returning latest date multiple criteria are met

    You can use this array* formula in E14:

    =MAX(IF((B$2:B$12="Alpha")+(B$2:B$12="Bravo"),$A$2:$A$12))

    *Note that an array formula must be confirmed using the key combination of Ctrl-Shift-Enter (CSE), rather than the usual Enter.

    Format the cell as a date in the style that you prefer.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    06-15-2020
    Location
    Newcastle, UK
    MS-Off Ver
    2007
    Posts
    33

    Re: Returning latest date multiple criteria are met

    Hi Pete

    That works exactly as I wanted it to! Can't believe I spent hours getting it wrong and you sorted it in two mins!

    Really appreciate your help.

    Jay

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: Returning latest date multiple criteria are met

    You're welcome, Jay - thanks for the rep.

    Hope things are okay in the North East.

    Pete

+ 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 latest date with INDEX MATCH with multiple criteria & partial text
    By billrogers184 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-20-2019, 01:52 PM
  2. Latest Date Based on Multiple Criteria
    By amycat81178 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-01-2018, 05:01 PM
  3. [SOLVED] Lookup latest date with multiple criteria
    By adsako in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 09-22-2018, 06:29 AM
  4. [SOLVED] Returning latest date on certain criteria
    By jharvey87 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-13-2017, 10:23 AM
  5. [SOLVED] Multiple Criteria To Produce Latest Date
    By minihus22 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-04-2013, 12:59 PM
  6. Powerpivot - Returning latest update based on latest date
    By Kehjz in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 08-22-2013, 02:45 PM
  7. Lookup Latest Date Using Multiple Criteria
    By maggioant in forum Excel General
    Replies: 2
    Last Post: 01-26-2010, 04:32 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