+ Reply to Thread
Results 1 to 9 of 9

Finding Latest Date

  1. #1
    Registered User
    Join Date
    11-11-2020
    Location
    Munich
    MS-Off Ver
    Excel 2013
    Posts
    13

    Exclamation Finding Latest Date

    Hi Everyone,

    I have an issue at work.

    I desire to obtain the output similar to what I entered manually in the MAX column (Colored Green) using a formula.

    Formula should

    1. Look for a Name (Column A) and Week Start Date (Column J).
    2. It should then mark "Latest", when the value in Entry Time (Column I) is the most recent one for a given Name and Week Start Date.
    3. Mark "Not Latest", when the value in the Entry Time is not the most recent one.

    Please help me! I am struggling with this one.

    Thanks a lot.
    Attached Files Attached Files
    Last edited by chandraganji; 12-19-2020 at 09:44 AM.

  2. #2
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,642

    Re: Finding Latest Date

    Which version of Excel are you using? Is it Excel 2013/ Please update your profile to make it clear.
    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.

  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. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,642

    Re: Finding Latest Date

    Not completely sure that your sample data is correct, but try this:

    =IF(MAX(IF(A:A=[@Name],IF(J:J=[@[Week Start Date]],H:H)))=[@[Entry Date]],"Latest","Not Latest")

    May need entering with CTRL+SHIFT+ENTER.

  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,852

    Re: Finding Latest Date

    I used this array* formula in cell O2 in order to compare directly with your manual results:

    =IF(MAX(IF(($A$2:$A$41=A2)*($J$2:$J$41=J2),$I$2:$I$41))=I2,"Latest","Not Latest")

    You may have to change the commas ( , ) to semicolons ( ; ) in the formula, depending on your regional settings.

    * NOTE that an array formula needs to be confirmed using the key combination of Ctrl-Shift-Enter (CSE) instead of the usual Enter.

    Then you can copy this down as required. Note that there are a few which don't agree with your manual results.

    Hope this helps.

    Pete

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,427

    Re: Finding Latest Date

    Or (no array entry required):

    =IF(AGGREGATE(14,6,[Entry Time]/([Name]=[@Name])*([Week Start Date]=[@[Week Start Date]]),1)=[@[Entry Time]],"Latest","Not Latest")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  6. #6
    Registered User
    Join Date
    11-11-2020
    Location
    Munich
    MS-Off Ver
    Excel 2013
    Posts
    13

    Re: Finding Latest Date

    Hi @AliGW

    Thanks a lot for replying back. Sorry, I am using Excel 2013. As you suggested, I have updated that in my bio.

    Unfortunately, I am not obtaining the desired result.

    I would like to use Entry Time column ( this data is obtained using NOW() function in my workbook) to find the latest entry. By doing so, I can avoid duplicate entries made in the same date.

    Could you please take a look?

    Thanks.
    Attached Files Attached Files

  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. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,642

    Re: Finding Latest Date

    Not until you have reported back on the other solutions offered - maybe one of them will do what you want.

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

    Re: Finding Latest Date

    Here's the file that I worked on:

    Hope this helps.

    Pete
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    11-11-2020
    Location
    Munich
    MS-Off Ver
    Excel 2013
    Posts
    13

    Re: Finding Latest Date

    Thanks a ton!

+ 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 latest date
    By tbaskar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-08-2013, 11:37 PM
  2. Finding latest date
    By tbaskar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-08-2013, 02:36 AM
  3. Finding the most recent/latest date.......
    By Natway03 in forum Excel General
    Replies: 6
    Last Post: 08-20-2012, 10:08 AM
  4. [SOLVED] finding latest date in table
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2012, 12:48 PM
  5. Finding latest date in table
    By Hambone70 in forum Excel General
    Replies: 8
    Last Post: 01-30-2011, 10:35 AM
  6. Finding latest date with query
    By sumdumgai in forum Access Tables & Databases
    Replies: 1
    Last Post: 10-03-2010, 12:59 PM
  7. Finding latest date
    By SilverHeli2000 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 12-22-2009, 02:13 PM
  8. Finding Latest Date and corresponding data
    By Kolacube in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-01-2008, 03:30 PM

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