+ Reply to Thread
Results 1 to 2 of 2

Smarter "remove duplicates" function

Hybrid View

  1. #1
    Registered User
    Join Date
    05-22-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    10

    Smarter "remove duplicates" function

    Hi,

    I have a spreadsheet that contains two columns, hotel and date.

    What I wanted to do was only keep the entry that has the latest date, and delete the duplicates.

    For example:

    Hotel Date
    123 1/01/2016
    123 2/01/2016
    123 3/01/2016
    abc 5/01/2016
    abc 6/01/2016
    abc 7/01/2016

    would look like

    Hotel Date
    123 3/01/2016
    abc 7/01/2016

    please advise!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Smarter "remove duplicates" function

    Sort descending by date, then remove duplicates.
    Entia non sunt multiplicanda sine necessitate

+ 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: 13
    Last Post: 10-22-2019, 02:14 AM
  2. Smarter "remove duplicates" function
    By ramonjr17 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-11-2016, 08:42 PM
  3. [SOLVED] "Live" remove duplicates formula
    By TPDave in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-25-2015, 06:30 AM
  4. [SOLVED] Help needed to make "smarter" graphing macro
    By andrewsca in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-31-2012, 11:06 AM
  5. [SOLVED] Can't get the "Remove Duplicates" to work in a macro
    By anwaee2 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-15-2012, 01:17 AM
  6. Is there a smarter way than "IF" function to do this?
    By crni_vatreni in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-07-2011, 03:49 PM
  7. Efficient deduping without "Remove Duplicates"
    By Jbm444 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-25-2010, 05:24 PM

Tags for this Thread

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