Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Delete duplicate records from both columns

Hello,

I've got 2 columns of data. How can I delete both records if the appear in
both columns? This is in Excel 2007.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Delete duplicate records from both columns

There may be a cleverer way but to just "get the the job done" you can do the
following:

Put a Vlookup next to each column of data that returns a Y/N flag based on
whether or not there is a match E.g.
=IF(ISNA(VLOOKUP(a1,$d1:$d40,1,FALSE)),"Y","N")

Paste Special Value the results (so that the formula results don't change
once you start the deletions.

Sort the two blocks of data by the Y/N column and delete the two blocks of
"Y"s.

If you want to restore the original order after deleting the matches then
add a third column filled with 1,2, 3 etc) which can be used to resort to
original order after deletions.

If you are a NZer then please advise also.

Cheers,

Matt

"cantab65" wrote:

Hello,

I've got 2 columns of data. How can I delete both records if the appear in
both columns? This is in Excel 2007.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default Delete duplicate records from both columns

Excel 2007
Advanced Filter
http://c0718892.cdn.cloudfiles.racks...03_19_10a.xlsx
Pdf preview:
http://www.mediafire.com/file/jjwmkngeinv/03_19_10a.pdf
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to delete all duplicate records - without keeping one of them Aviva B Excel Worksheet Functions 5 December 8th 09 02:59 PM
Delete records when certain records have duplicate column data JVroom New Users to Excel 1 January 26th 09 06:23 PM
Compare and delete duplicate records charles Excel Worksheet Functions 3 June 17th 08 11:46 AM
Delete Duplicate records Finger Tips Excel Worksheet Functions 2 April 29th 07 08:42 PM
how to delete duplicate records in a row Christian Setting up and Configuration of Excel 2 July 21st 06 01:39 AM


All times are GMT +1. The time now is 02:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"