+ Reply to Thread
Results 1 to 3 of 3

two columns, one values, one dates. Need most current date for that value.

  1. #1
    Registered User
    Join Date
    02-23-2014
    Location
    Uxbridge, England
    MS-Off Ver
    Excel 2010
    Posts
    1

    two columns, one values, one dates. Need most current date for that value.

    Hi,

    There must be an easier way than me going through line by line of 12k lines to determine the most recent date. I really hope someone can help me.

    Example of data below.

    9699741 28/10/2013
    9704789 06/02/2014
    9704789 13/02/2014
    9704789 20/02/2014
    9844987 31/01/2014
    9844987 07/02/2014
    9844987 14/02/2014
    9845011 14/02/2014
    9845051 25/10/2013
    9845225 19/02/2014
    9845411 30/10/2013
    9845439 03/02/2014
    9845439 17/02/2014
    9845442 07/02/2014
    9845442 14/02/2014
    9845446 07/02/2014
    9845451 03/01/2014
    9845451 24/01/2014

    In the third column I need to determine the most recent date for the value in column A, example 9845451 would return 24/01/2014 as the result.

    A million thank you's in advance..

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

    Re: two columns, one values, one dates. Need most current date for that value.

    You can use this array* formula in C1:

    =MAX(IF(A$1:A$12000=A1,B$1:B$12000))

    Format the cell as a date, then copy down.

    *An array formula must be committed using the key combination of Ctrl-Shift-Enter (CSE) instead of the usual <Enter>.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    12-15-2012
    Location
    In a bin
    MS-Off Ver
    Excel 2013
    Posts
    43

    Re: two columns, one values, one dates. Need most current date for that value.

    Hi GINSTER

    As you have Excel 2010 you will have no need for array formulas!

    See the attached workbook with two formula approaches and a pivot table option.

+ 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] Need average of days for date values from date to current day that updates current date
    By FinGhost in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-12-2013, 04:41 PM
  2. [SOLVED] Filter dates according to current date
    By babbeleme1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-20-2013, 04:57 PM
  3. [SOLVED] Highlight dates that are 3 years old as of the current date.
    By musik7 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-10-2013, 12:31 PM
  4. Replies: 0
    Last Post: 05-18-2013, 03:29 AM
  5. [SOLVED] How do I get the most current date from a list of dates?
    By GenaM in forum Excel General
    Replies: 4
    Last Post: 07-18-2006, 10:30 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