+ Reply to Thread
Results 1 to 7 of 7

Find data with latest date

  1. #1
    Registered User
    Join Date
    05-09-2016
    Location
    uae
    MS-Off Ver
    2010
    Posts
    21

    Find data with latest date

    Dear All

    Kindly i need your support. I have a list of sites with dates. Some sites are repeated with different dates, i want to deduct sites with their latest dates if they are repeated. Thanks.

    Input:

    Date Site ID
    10-Nov-15 100
    10-Nov-15 100
    10-Nov-15 100
    20-Nov-16 100
    20-Nov-16 100
    20-Nov-16 100
    25-Nov-16 105
    25-Nov-16 105
    25-Nov-16 105
    6-May-16 375
    6-May-16 375
    6-May-16 375
    2-Feb-15 490
    2-Feb-15 490
    2-Feb-15 490
    2-Jan-17 105
    2-Jan-17 105
    2-Jan-17 105



    Output

    Date Site ID
    20-Nov-16 100
    20-Nov-16 100
    20-Nov-16 100
    6-May-16 375
    6-May-16 375
    6-May-16 375
    2-Feb-15 490
    2-Feb-15 490
    2-Feb-15 490
    2-Jan-17 105
    2-Jan-17 105
    2-Jan-17 105

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Find data with latest date

    Hi,
    It's not clear, at least to me what the rule is that says drop 10 Nov 2015 & 25 Nov 2016 but leave the others.

    Please clarify
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,628

    Re: Find data with latest date

    Sort your data Descending on dates then use standard Remove Duplicates command (marking only Site ID column duplicate). Then sort back on dates but Ascending.
    Best Regards,

    Kaper

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,628

    Re: Find data with latest date

    The result as I proposed above would be:
    Date Site ID
    2015-02-02 490
    2016-05-06 375
    2016-11-20 100
    2017-01-02 105

    Wouldn't it be usefull for you?

  5. #5
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,628

    Re: Find data with latest date

    Or may be in C2 (and copy down) write array formula *
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and then filter data on column C to delete all rows marked for removal


    *) ...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.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-09-2016
    Location
    uae
    MS-Off Ver
    2010
    Posts
    21

    Re: Find data with latest date

    Thanks Richard for taking interest. Actually there is data associated with these sites and i want to know the latest dates. Any how the problem is solved now. Thanks

  7. #7
    Registered User
    Join Date
    05-09-2016
    Location
    uae
    MS-Off Ver
    2010
    Posts
    21

    Re: Find data with latest date

    Kaper Thanks you so much for the solution. It works great. 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. Replies: 9
    Last Post: 12-21-2014, 06:29 PM
  2. [SOLVED] Find the latest date matching known data
    By tb100 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-18-2013, 03:06 PM
  3. Replies: 1
    Last Post: 04-04-2012, 08:21 AM
  4. Find Latest Date
    By Loisw in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-22-2011, 06:09 AM
  5. To find the latest date
    By Christeen in forum Excel General
    Replies: 13
    Last Post: 05-19-2011, 07:49 PM
  6. [SOLVED] Find latest date for each row
    By scuba79 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2005, 06:05 PM
  7. Find latest date
    By john.bedford3 in forum Excel General
    Replies: 2
    Last Post: 02-13-2005, 03: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