+ Reply to Thread
Results 1 to 4 of 4

Removing Duplicates

Hybrid View

Alan L 185 Removing Duplicates 09-09-2013, 04:11 AM
benishiryo Re: Removing Duplicates 09-09-2013, 04:29 AM
RobertMika Re: Removing Duplicates 09-09-2013, 04:30 AM
Alan L 185 Re: Removing Duplicates 09-09-2013, 04:38 AM
  1. #1
    Registered User
    Join Date
    08-18-2013
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    65

    Question Removing Duplicates

    Hi

    I want to compare two sets of data (see Before worksheet) and remove all the duplicates so that only the unique entries in both sets are left (see After worksheet).
    Attached Files Attached Files

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

    Re: Removing Duplicates

    hi Alan L 185. in the After sheet, use this array formula in A3:
    Formula: copy to clipboard
    =IFERROR(INDEX(Before!A$3:A$19,SMALL(IF(COUNTIF(Before!$F$3:$F$20,Before!$A$3:$A$19)=0,ROW(Before!$A$3:$A$19)),ROWS(A$3:A3))-ROW(Before!$A$3)+1),"")


    copy to column D. in F3, it's a slight change to:
    Formula: copy to clipboard
    =IFERROR(INDEX(Before!F$3:F$20,SMALL(IF(COUNTIF(Before!$A$3:$A$19,Before!$F$3:$F$20)=0,ROW(Before!$F$3:$F$20)),ROWS(F$3:F3))-ROW(Before!$F$3)+1),"")

    copy to Column I

    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
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Removing Duplicates

    Example.xlsx

    Please see attached
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  4. #4
    Registered User
    Join Date
    08-18-2013
    Location
    New Zealand
    MS-Off Ver
    2013
    Posts
    65

    Re: Removing Duplicates

    Thanks benishiryo and RobertMika for your quick responses. I'll try it out on the actual data tomorrow and let you know how I get on.

+ 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: 6
    Last Post: 03-29-2012, 12:16 AM
  2. Removing Duplicates
    By drob59233 in forum Excel General
    Replies: 1
    Last Post: 10-25-2011, 06:44 PM
  3. Removing duplicates
    By nuno in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2007, 08:29 AM
  4. Removing Duplicates
    By Gary's Student in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM

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