Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 69
Default Comparing two lists and removing duplicatations

I have 2 workbooks each containing long lists of names and addresses.

I need to compare the surname in column B and the first line of the address
in column D of workbook 1 with the list in workbook 2 (columns C and D). If
the same info occurs in workbook 2 I want to delete the entire line from that
list.

Can you help please?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Comparing two lists and removing duplicatations

I would use a helper column that concatenated the two fields into one:

=b2&"...."d2

in both files.

Then I'd be able to base my comparisons on just one column.

Then I'd visit Chip Pearson's site:
http://www.cpearson.com/excel/duplicat.htm

He has lots of techniques to work with duplicates:

Alan M wrote:

I have 2 workbooks each containing long lists of names and addresses.

I need to compare the surname in column B and the first line of the address
in column D of workbook 1 with the list in workbook 2 (columns C and D). If
the same info occurs in workbook 2 I want to delete the entire line from that
list.

Can you help please?


--

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
Comparing and removing data in different workbooks mkeogh Excel Worksheet Functions 3 November 1st 07 05:41 PM
Comparing Lists Constantly Amazed Excel Worksheet Functions 1 September 13th 06 05:42 PM
comparing lists sofiane b via OfficeKB.com Excel Worksheet Functions 4 July 13th 05 06:47 PM
Comparing two lists Pauli Soininen Excel Programming 2 September 21st 04 09:51 PM
Comparing Lists to Partial Lists depuyus[_7_] Excel Programming 0 August 5th 04 01:43 PM


All times are GMT +1. The time now is 12:05 AM.

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"