Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I de-dupe two columns of data in excel?

I have two columns of extemely complex codes and I need to de-dupe them. I'm
not sure how to do this. Any help will be much appreciated.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default How do I de-dupe two columns of data in excel?

Anna,

If you have duplicates _within_ the lists, use a formula like

=COUNTIF(A:A,A2)

and then copy down to match your list. Any value 1 shows a duplicated value.

If you are looking for the second, third, etc, instance of the duplicate, then use

=COUNTIF($A$1:A2,A2)

and copy down.

For values duplicated in the _other_ list, use something like

=NOT(ISERROR(MATCH(A2,D:D,False)))

which will return true if the value in cell A2 appears in column D. Again copy that formula down to
match your list.

HTH,
Bernie
MS Excel MVP


"Anna 333" <Anna wrote in message
...
I have two columns of extemely complex codes and I need to de-dupe them. I'm
not sure how to do this. Any help will be much appreciated.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default How do I de-dupe two columns of data in excel?

To pull out of your lists only 1 record of each item, select the list then
used Data/Filter/Advanced Filter. This will bring up a dialogue box which
allows you to filter the list in place or copy to another location - but
whichever you choose be sure to select the check box for "Unique Records Only.

"Anna 333" wrote:

I have two columns of extemely complex codes and I need to de-dupe them. I'm
not sure how to do this. Any help will be much appreciated.

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How do I de-dupe two columns of data in excel?

Does this mean that you want the "duplicateness" of the row based on two
columns?

If yes, then I'd add a couple of helper columns.

The first would concatenate the two key columns:

=a1&char(1)&b1
and drag down

Then I'd use that formula that Bernie suggested.

Or one of the techniques at Chip Pearson's site:
http://www.cpearson.com/excel/Duplicates.aspx

Anna 333 wrote:

I have two columns of extemely complex codes and I need to de-dupe them. I'm
not sure how to do this. Any help will be much appreciated.

Thanks


--

Dave Peterson
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
Why PasteSpecialValue doesnt always dupe binary value exactly? joeu2004 Excel Discussion (Misc queries) 2 August 5th 08 08:51 PM
I need an Excel macro which will de-dupe a column of data? JPAuctions Excel Discussion (Misc queries) 1 July 18th 06 04:44 PM
De-Dupe Records Based on Two Fields. onlythebest Excel Discussion (Misc queries) 2 July 17th 06 06:52 PM
how can i de-dupe email lists using excel? Guy Timson Excel Worksheet Functions 1 February 17th 06 10:54 PM
how do i "de-dupe?" rows by a column value? hailah Excel Discussion (Misc queries) 1 May 20th 05 04:04 AM


All times are GMT +1. The time now is 04:19 PM.

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

About Us

"It's about Microsoft Excel"