+ Reply to Thread
Results 1 to 3 of 3

find oldest date based on multiple criteria

  1. #1
    Forum Contributor
    Join Date
    08-10-2006
    Location
    The Netherlands
    MS-Off Ver
    Office for Mac 2016; MS Office 2016 for Windows
    Posts
    110

    find oldest date based on multiple criteria

    Hi All,

    I need to find the oldest date in a column based on some criteria.
    Attached file has example data and in yellow the required output based on the data in columns A:D.
    Data in A:D is expanded daily by adding similar rows at the bottom of the list, so I can't work with a fixed range.

    Criteria:
    1. If follow-up date (Column C) is empty or has a date in the past, take the oldest date in column B
    2. If follow-up date isn't empty, but has a date in the future (date > today), disregard this line

    I need a formula in the yellow fields which will return the oldest date based on above 2 criteria, matching the Teams (column A versus H1, H6 and H9) and the report date (column D versus I1, I6 and I9)

    Hopefully I've explained the above in a clearly manner, if not, just shout ;-)

    Thanks for all the effort from your side!
    Peter
    oldest date.xlsx

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

    Re: find oldest date based on multiple criteria

    Hi Peter,

    See if a Pivot Table does what you need. The oldest date is really the minimum number in a Pivot. See the attached.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    08-10-2006
    Location
    The Netherlands
    MS-Off Ver
    Office for Mac 2016; MS Office 2016 for Windows
    Posts
    110

    Re: find oldest date based on multiple criteria

    Hi Marvin,

    Thanks for the above, but it doesn't give me the correct output, as this doesn't take into account the follow-up date criteria. So the oldest dates in the PT are not matching the required output as shown in the yellow fields.

    Is there any way to incorporate this?

    Thanks,
    Peter

+ 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. Replies: 2
    Last Post: 05-01-2014, 04:39 PM
  2. Match Multiple Criteria & Find Oldest Date
    By DoodlesMama in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 12-04-2013, 11:10 AM
  3. [SOLVED] Find oldest data, based on a criteria in another row
    By dutchdog in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-05-2012, 02:09 AM
  4. [SOLVED] Find Oldest Date for Criteria in different Column
    By mglassco in forum Excel General
    Replies: 12
    Last Post: 04-19-2012, 09:27 PM
  5. Display value based on oldest date and other criteria.
    By Permagrin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-03-2009, 09:48 AM
  6. Help: Need to find oldest date based on a location
    By paindivine in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-11-2006, 03:14 PM
  7. Getting the oldest date with criteria
    By Sara_Chase in forum Excel General
    Replies: 5
    Last Post: 10-17-2006, 08:11 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