+ Reply to Thread
Results 1 to 7 of 7

Finding the most recent/latest date.......

  1. #1
    Registered User
    Join Date
    08-17-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Finding the most recent/latest date.......

    Hi,

    I have a list of dates in column A and a list of names in column B. I would like to match each name from column B to the most recent / latest date from column A. Any help would be immensely appreciated.

    Many thanks,
    Natway

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Finding the most recent/latest date.......

    This formula must be Array confirmed with Shift Ctrl Enter.

    =MAX(IF(B$2:B$100=B2,A$2:A$100))

    Adjust the ranges to suit your real data range.

  3. #3
    Registered User
    Join Date
    08-17-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Finding the most recent/latest date.......

    Hi Jason,

    Thanks for coming back to me, however I am still not getting the latest date for some reason.

    cabnumber Status
    W859WGT 06/12/2012

    The above CAB numbers last date of upgrade was 07/31/2012 (the date and time are US format) and I get 06/12/2012. I am not sure if the formula actually brings me the most recent date. By the way the first date of upgrade this year was 3/22/2012 and the last date was 07/31/2012 if this helps. Thanks again for assisting!

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Finding the most recent/latest date.......

    Non - local date formats are always a pain to work with, depending on how they're formatted, it's highly likely that excel is not recognising them as 'proper' dates, which would explain the incorrect results.

    The easiest way to deal with it would be to convert the dates to UK format, either by overwriting the original dates, or by adding a new column.

    Is either of these permissable before I start looking for alterantives?

  5. #5
    Registered User
    Join Date
    08-17-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Finding the most recent/latest date.......

    I agree with your comment and think that this is the case. I will reformat and try the formula again. The source data has the date format mixed up as in some places it reads 07/12/2012 and in some places it reads 7/12/2012.

    Hopefully the formula should work once the formatting is changed.

  6. #6
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Finding the most recent/latest date.......

    Quick re-format tip.

    Select your date column, then on the excel ribbon / menu navigate to

    Data > Text to columns. Click 'Next' twice. Set the 'Date' Dropdown to MDY (change the Destination range if you want the reformatted dates in a different column) then click Finish.

  7. #7
    Registered User
    Join Date
    08-17-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Finding the most recent/latest date.......

    Hi Jason,

    Hope you had a good weekend. You are a Genius and thanks for assisting with my query- my report was brilliant!

    Thanks again and pls stay in touch.

    natway

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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