Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Comparing 2 excel files

Hallo,

I have the following problem

For a mailing-campaign I use an excel file (file "A") with ca. 5000
addresses. Each row contains one address, in column A there is a special
number (7 digits) for each person.

A second file (file "B") contains 1000 addresses some of which are also in
file "A". People in file "B" should not receive the mailing.

Goal: a new file "A" where those addresses are deleted that are included in
file "B". Both files have identical structures (1 address in 1 row; some
addresses have same 7-digit-number in column A)

Any solution for this problem?

Kind regards

Michael E.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Comparing 2 excel files

A small correction:
same addresses have same 7-digit number in column A
Kind regards
Michael E.

"Michael E." wrote:

Hallo,

I have the following problem

For a mailing-campaign I use an excel file (file "A") with ca. 5000
addresses. Each row contains one address, in column A there is a special
number (7 digits) for each person.

A second file (file "B") contains 1000 addresses some of which are also in
file "A". People in file "B" should not receive the mailing.

Goal: a new file "A" where those addresses are deleted that are included in
file "B". Both files have identical structures (1 address in 1 row; some
addresses have same 7-digit-number in column A)

Any solution for this problem?

Kind regards

Michael E.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Comparing 2 excel files

Open both workbooks. In file A, in a column on the right, put this formula:

=COUNTIF([Workbook2]Sheet1!$A:$A,A2)

Use AutoFilter to display rows where this value is 0, then delete those rows.

On Tue, 19 Oct 2004 12:39:05 -0700, "Michael E."
wrote:

Hallo,

I have the following problem

For a mailing-campaign I use an excel file (file "A") with ca. 5000
addresses. Each row contains one address, in column A there is a special
number (7 digits) for each person.

A second file (file "B") contains 1000 addresses some of which are also in
file "A". People in file "B" should not receive the mailing.

Goal: a new file "A" where those addresses are deleted that are included in
file "B". Both files have identical structures (1 address in 1 row; some
addresses have same 7-digit-number in column A)

Any solution for this problem?

Kind regards

Michael E.


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 two Excel Files Chris New Users to Excel 1 April 28th 08 10:23 PM
Comparing Excel Files Tiffany Excel Discussion (Misc queries) 0 November 13th 07 05:29 PM
Comparing 2 excel files AB@ Excel Discussion (Misc queries) 3 May 3rd 07 03:53 PM
Comparing 2 excel files AB@ Excel Discussion (Misc queries) 0 May 3rd 07 11:58 AM
Comparing a value in EXCEL and XML files Vishnu Excel Discussion (Misc queries) 0 October 23rd 05 06:43 PM


All times are GMT +1. The time now is 08:37 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"