+ Reply to Thread
Results 1 to 4 of 4

Returning latest date on certain criteria

  1. #1
    Forum Contributor
    Join Date
    05-15-2015
    Location
    Orlando, FL
    MS-Off Ver
    Office Standard 2016
    Posts
    266

    Returning latest date on certain criteria

    Hi everyone,

    I'm having trouble figuring out how to write a formula and I'm hoping someone here can help.

    Basically within my spreadsheet, the data consists of contract numbers (Column D), Pay Status (Column E), Amount Paid (Column G) and Invoice Date (Column H). The data started on row 5.

    What I'm trying to do is find the "latest date" in which the contract number matches, the pay status equals "P" and then return the latest date.

    Example.PNG


    Using the example, for contract 0111009, it should return 8/31/17. As that is the last date where the pay status is "P". Can someone tell me how I would do this?

    Thanks for the help!

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Returning latest date on certain criteria

    Try...

    =MAX(IF($A$2:$A$6="0111009",IF($B$2:$B$6="P",$E$2:$E$6))) >> Commit with Ctrl + Shift + Enter

    *Adjust ranges are necessary
    HTH
    Regards, Jeff

  3. #3
    Forum Contributor
    Join Date
    05-15-2015
    Location
    Orlando, FL
    MS-Off Ver
    Office Standard 2016
    Posts
    266

    Re: Returning latest date on certain criteria

    I believe I may have figured it out,

    Please Login or Register  to view this content.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Returning latest date on certain criteria

    Good job.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. 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. [SOLVED] Choose Latest Date and Number of Month Criteria for Future Date
    By ShakJames in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-07-2017, 12:31 PM
  2. [SOLVED] Help with returning the latest date plus X
    By morerockin in forum Excel General
    Replies: 3
    Last Post: 11-07-2016, 06:45 PM
  3. [SOLVED] Returning Earliest and Latest Date for a Unique ID
    By chicity26 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-26-2014, 09:39 AM
  4. [SOLVED] Multiple Criteria To Produce Latest Date
    By minihus22 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-04-2013, 12:59 PM
  5. 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
  6. Returning BLANK date PRIORITY before Newest/Latest Date
    By dluhut in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-11-2013, 04:43 PM
  7. [SOLVED] Returning Unique ID and Latest Date from data set
    By PERE in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-04-2013, 04:37 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