+ Reply to Thread
Results 1 to 3 of 3

Eliminate Rows Except the One with the Latest Dates

  1. #1
    Registered User
    Join Date
    08-13-2018
    Location
    Florida
    MS-Off Ver
    Office 2013
    Posts
    1

    Eliminate Rows Except the One with the Latest Dates

    Hello All, First time poster here.

    I have a 3 column excel sheet, that has a Person's Name, a Date, and a campaign event that they were involved in.

    A person can exist multiple times, and I simply want to see the last Campaign that the person was involved in based on the date.

    I have a massive database, and the only think I could think of was to use excel to help me find this information.

    I have attached an example but without a formula that hopefully someone here could help provide.

    Thanks!
    Cteix
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Eliminate Rows Except the One with the Latest Dates

    For Name, put this on E4 and ENTERED as ARRAY FORMULA

    =IFERROR(INDEX($A$2:$A$35,SMALL(IF(FREQUENCY(IFERROR(MATCH(IF($A$2:$A$35<>"",$A$2:$A$35),$A$2:$A$35,0),""),ROW($A$2:$A$35)-ROW($A$2)+1),ROW($A$2:$A$35)-ROW($A$2)+1),ROWS($A$1:A1))),"")

    For Date and Campaign Event, put this on F4 and copied down and cross as regular formular

    =IFERROR(LOOKUP(2,1/($A$2:$A$35=$E4),B$2:B$35),"")
    Attached Files Attached Files

  3. #3
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Eliminate Rows Except the One with the Latest Dates

    You can try with Pivot table. See attachment.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

+ 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: 7
    Last Post: 12-27-2017, 09:57 AM
  2. [SOLVED] Select the earliest and latest dates from a list of dates
    By Hawkmoth1 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-18-2017, 06:54 AM
  3. [SOLVED] Formula to return the 'earliest' and 'latest' dates from a list of dates is not working
    By Hawkmoth1 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-21-2017, 07:14 AM
  4. [SOLVED] Return the earliest and latest dates selected from a list of dates.
    By Hawkmoth1 in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 02-01-2017, 09:41 AM
  5. Replies: 9
    Last Post: 11-28-2013, 05:20 PM
  6. Replies: 7
    Last Post: 05-02-2013, 09:50 PM
  7. [SOLVED] How do I eliminate day between two dates i.e. fortnightly
    By Frustrated Charter in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-13-2006, 08:55 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