+ Reply to Thread
Results 1 to 8 of 8

Looking to identify most recent data

  1. #1
    Registered User
    Join Date
    11-21-2016
    Location
    Cambridge, MA
    MS-Off Ver
    2010
    Posts
    2

    Looking to identify most recent data

    Hello,

    I have a spreadsheet that I am looking to add an additional column to identify the most recent data by sorting.

    Right now I have 2 columns. Column A has data that can repeat and column B is a date. I am looking for a formula in column C that will add a "1" to the most recent date where column A has the same value.

    I provided a sample below of what I am looking to accomplish.

    Column A Column B Column C
    0000000015 12/15/2014
    0000000015 1/6/2015
    0000000015 4/23/2015 1
    0000000024 10/30/2014
    0000000024 12/22/2014
    0000000024 5/8/2015 1
    0000000039 11/10/2014
    0000000039 11/17/2014
    0000000039 12/17/2014
    0000000039 7/1/2015 1
    0000000048 10/31/2014 1
    0000000054 6/20/2015
    0000000054 7/7/2015
    0000000054 8/27/2015 1

    If any has any idea of what this IF statement would look like please let me know. Thanks.

    Mike
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Looking to identify most recent data

    Give this array formula a try. Enter the formula with Ctrl + Shift + Enter keys together
    =MAX(IF($A$2:$A$10=A2,$B$2:$B$10,""))=B2
    Attached Files Attached Files

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Looking to identify most recent data

    Or try this regular formula in C1 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    07-22-2016
    Location
    Flagstaff, Arizona
    MS-Off Ver
    2010
    Posts
    9

    Re: Looking to identify most recent data

    Hey Mike, what Excel are you using? If it's 2016, then you can use MAXIFS formula, which is really helpful.

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Looking to identify most recent data

    Welcome to the forum.

    This might work for you. Enter this in C2 with Ctrl + Shift + Enter (array formula) and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by newdoverman; 11-21-2016 at 03:18 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Looking to identify most recent data

    The AGGREGATE function as given in msg#3 will return TRUE or FALSE. If you need 1s and blanks and want to use the AGGREGATE function, surround the formula with an IF statement like this and enter normally.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    11-21-2016
    Location
    Cambridge, MA
    MS-Off Ver
    2010
    Posts
    2

    Re: Looking to identify most recent data

    This worked. Thank you.

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Looking to identify most recent data

    Thank you for giving feedback.

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

+ 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. Using most recent data for chart
    By B_Jarbs in forum Excel General
    Replies: 5
    Last Post: 01-15-2016, 09:44 AM
  2. Replies: 2
    Last Post: 01-04-2016, 03:40 AM
  3. [SOLVED] Formula to identify a unique number and its most recent date
    By Excel Analyst in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-15-2013, 04:51 PM
  4. [SOLVED] Identify duplicate rows and delete all but the most recent
    By millerj64 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-10-2012, 03:06 PM
  5. Data tables update automatically with most recent data
    By jworkman7 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-29-2012, 03:54 PM
  6. Moving recent data
    By MonstaMash in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-28-2008, 07:58 AM
  7. Averaging Most Recent Data
    By bugmenot in forum Excel General
    Replies: 4
    Last Post: 08-05-2008, 09:26 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