+ Reply to Thread
Results 1 to 7 of 7

Max date based on conditions

  1. #1
    Registered User
    Join Date
    05-21-2021
    Location
    London, England
    MS-Off Ver
    365
    Posts
    9

    Max date based on conditions

    I need to identify if the latest date of an item has the status "published". I want the outcome to be "Yes".
    If the item is "not published" or blank, I want to ignore the date.


    ITEM
    HF00030
    HF00030
    HF00030
    HF00030
    HF00030
    HF00030
    HF00030
    HF00030


    DATE
    31/07/2022 09:37
    26/09/2018 17:24
    24/03/2021 11:10
    12/11/2021 10:29
    31/07/2022 09:41
    19/08/2020 10:00
    10/12/2021 17:41
    10/12/2021 17:41


    STATUS

    Published
    Published


    Published
    Published
    Not Published


    OUTCOME
    NO
    NO
    NO
    NO
    NO
    NO
    YES
    NO
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Max date based on conditions

    maybe:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    btw. your max date is 31/07/2022 09:41:41 not 10/12/2021 17:41:44
    Last edited by sandy666; 09-22-2022 at 06:22 AM.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,897

    Re: Max date based on conditions

    In D2 copied down:

    =IF(B2=MAXIFS($B$2:$B$9,$A$2:$A$9,A2,$C$2:$C$9,"*Published*"),"YES","NO")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,897

    Re: Max date based on conditions

    Any questions?

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  5. #5
    Registered User
    Join Date
    05-21-2021
    Location
    London, England
    MS-Off Ver
    365
    Posts
    9

    Re: Max date based on conditions

    Thank you enormously. This was the perfect solution. Really appreciate your help.

  6. #6
    Registered User
    Join Date
    05-21-2021
    Location
    London, England
    MS-Off Ver
    365
    Posts
    9

    Re: Max date based on conditions

    Thanks for your response although it didn't produce the required result. I was looking for the max date for only occurrences that had the Published status. The solution from AliGW was perfect. But, thank you for taking the time to help to solve.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,897

    Re: Max date based on conditions

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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] Finding the Latest Date Based on Conditions
    By bafi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-01-2021, 02:03 PM
  2. Replies: 2
    Last Post: 03-20-2015, 06:52 AM
  3. Conditions based on Today's Date
    By bonoclay in forum Excel General
    Replies: 3
    Last Post: 07-09-2013, 01:05 PM
  4. Conditions based on Today date.
    By Greenspank in forum Excel General
    Replies: 19
    Last Post: 05-16-2013, 11:55 AM
  5. Find Earliest Date based on conditions
    By ShredDude in forum Excel General
    Replies: 6
    Last Post: 07-14-2007, 01:56 PM
  6. Returning the date based on conditions
    By itty in forum Excel General
    Replies: 1
    Last Post: 03-06-2005, 05:50 PM

Tags for this Thread

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