+ Reply to Thread
Results 1 to 3 of 3

Formula for keeping duplicate with highest value and deleting the others

  1. #1
    Registered User
    Join Date
    09-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2011
    Posts
    11

    Formula for keeping duplicate with highest value and deleting the others

    Hi everyone,

    I have a problem with a data set of mine:
    I've a table in which I identified duplicates in a column (column E). However, I would like to delete all duplicates except the one that has the highest value in column F (the similarity index). In short, I wanna keep the best of the duplicates and get rid of the others. Is there a way/formula how to approach this for a big data set with various duplicates?

    I'd really appreciate any help!

    Thank you!
    Attached Images Attached Images

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Formula for keeping duplicate with highest value and deleting the others

    welcome to the forum, Neico. assuming data in E3:E10, then do this in another column:
    =SUMPRODUCT(MAX(($E$3:$E$10=E3)*$F$3:$F$10))=F3

    filter the FALSE ones & delete them

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    09-21-2013
    Location
    United States
    MS-Off Ver
    Excel 2011
    Posts
    11

    Re: Formula for keeping duplicate with highest value and deleting the others

    Thanks that helped a lot!

+ 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. Formula for deleting duplicate text entries
    By rhebus in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-29-2012, 01:16 PM
  2. Formula finding highest number out of five and deleting that row
    By taichi56 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-12-2012, 10:35 AM
  3. [SOLVED] Formula to return highest value from duplicate entries
    By JungleJme in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-10-2012, 10:24 AM
  4. keeping value after deleting the source
    By mrggutz in forum Excel General
    Replies: 1
    Last Post: 09-17-2010, 01:44 PM
  5. Excel 2007 : deleting duplicates but keeping row values
    By moldoverb in forum Excel General
    Replies: 6
    Last Post: 10-23-2009, 11:57 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