+ Reply to Thread
Results 1 to 5 of 5

Return latest date for Site

  1. #1
    Registered User
    Join Date
    03-28-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 365
    Posts
    79

    Return latest date for Site

    I would like to return the eaarlier date for a site.

    Site Last date
    AA 2014/01/06
    AB 0
    BB 0
    CC 0
    CD 0
    DD 0

    If Site AA, for example, then return the earlier date in a range. The range is in Sheet1. The earlier date for Site AA should be 2014/01/02 10:16. I have insert the attachment.

    Site Employee Rep. Date
    AA 1158 2014/01/02 10:16
    AA 333 2014/01/03 12:35
    AA 333 2014/01/03 09:35
    AB 333 2014/01/02 13:03
    AB 728 2014/01/02 11:28
    BB 333 2014/01/03 11:47
    CC 333 2014/01/03 14:37
    CC 311 2014/01/04 08:58
    CC 389 2014/01/01 14:09
    CD 311 2014/01/06 08:49
    CD 336 2014/01/04 11:28
    DD 383 2014/01/06 14:00
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Return latest date for Site

    Why not just use a pivot table?

    Use Site as Row field, and Rep Date as Value field, summarised by Min.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Return latest date for Site

    hi,

    Check the file for correctness .

    Punnam
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Return latest date for Site

    Hi bongielondy ,

    Thanks for the reps. if u r questioned solved mark the thread as solved .

    Punnam

  5. #5
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Return latest date for Site

    You can also use this one

    =MAX(IF(Sheet1!$A$2:$A$18=A2,Sheet1!$C$2:$C$18))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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] Return the value from the row with latest date
    By G.Bregvadze in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-12-2013, 09:14 AM
  2. [SOLVED] Return latest Date from cell containing several dates?
    By Motox in forum Excel General
    Replies: 2
    Last Post: 09-10-2012, 07:26 AM
  3. Excel 2007 : Lookup a value and return the latest date
    By pinkshirt in forum Excel General
    Replies: 4
    Last Post: 07-04-2011, 06:13 AM
  4. Return Latest Date from a range of data
    By Kenji in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-01-2010, 06:19 AM
  5. Return the latest date from a list of dates
    By davidp in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-17-2005, 09:06 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