+ Reply to Thread
Results 1 to 3 of 3

Remove cells if duplicates found

  1. #1
    Registered User
    Join Date
    06-15-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    4

    Remove cells if duplicates found

    I've been scratching around and i'm probably asking this the wrong way around. I'm looking for a formula that I can use that will look at column A and column B and if duplicates (between A and B) are found both the cells are emptied leaving just the unique cells in column A and B. Or perhaps take the unique cells and place in column C and D respectively.

  2. #2
    Forum Contributor
    Join Date
    08-15-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2007
    Posts
    245

    Re: Remove cells if duplicates found

    I'd start with a VLOOKUP in column C, and if the VLOOKUP of the value in column B is found in column A, you know it's duplicate. Then in columns E & F, you can say if the VLOOKUP value was an error (or use IFERROR with your VLOOKUP to make it whatever you want), then equal A or B respectively, if not, equal blank.
    <--- If you like the answer, press *.

  3. #3
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Remove cells if duplicates found

    Put this in C1:
    =IF(COUNTIF($B$1:$B$100,A1)=0,A1,"")

    And this in D1:
    =IF(COUNTIF($A$1:$A$100,B1)=0,B1,"")

    and drag down
    When I say semicolon, u say comma!

+ 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. [SOLVED] concatinate cells and remove duplicates
    By wellsw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-11-2013, 07:54 PM
  2. Find Duplicates if found clear specific cells
    By martinez_pedro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-20-2011, 12:18 PM
  3. Formatting cells to remove duplicates
    By benmcfall in forum Excel General
    Replies: 0
    Last Post: 09-18-2009, 09:45 AM
  4. remove duplicates and delete cells...
    By OfficerSpock in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-23-2009, 02:59 PM
  5. LIST duplicates AND references of cells where found
    By Kris70 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-30-2006, 08: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