#1   Report Post  
Posted to microsoft.public.excel.misc
bill22
 
Posts: n/a
Default comparing lists


I have a data base of email addresses of people who have requested to
receive info from our publication. Each month, our ISP sends me a list
of email addresses of people who have chosen to be removed from that
list.

What is a good way to have Excel compare the two lists in order to
delete or even better highlight/flag the addresses of the people who
request to be removed?

Bill


--
bill22
------------------------------------------------------------------------
bill22's Profile: http://www.excelforum.com/member.php...o&userid=35563
View this thread: http://www.excelforum.com/showthread...hreadid=553196

  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default comparing lists

I help with a similar task:

1. original list is in column A
2. put deletions in column B
3. enter and run :

Sub cleanout()
Dim s As String
For i = 1 To 500
If IsEmpty(Cells(i, 2).Value) Then
Else
s = Cells(i, 2).Value
Range("A:A").Replace What:=s, Replacement:=""
End If
Next
End Sub

if you have more than 500 deletions, then update the code.

Cells will be just blanked-out, sort to remove the blank cells, if desired.


--
Gary''s Student


"bill22" wrote:


I have a data base of email addresses of people who have requested to
receive info from our publication. Each month, our ISP sends me a list
of email addresses of people who have chosen to be removed from that
list.

What is a good way to have Excel compare the two lists in order to
delete or even better highlight/flag the addresses of the people who
request to be removed?

Bill


--
bill22
------------------------------------------------------------------------
bill22's Profile: http://www.excelforum.com/member.php...o&userid=35563
View this thread: http://www.excelforum.com/showthread...hreadid=553196


  #3   Report Post  
Posted to microsoft.public.excel.misc
bill22
 
Posts: n/a
Default comparing lists


Sorry, I am a bit of a novice. Can you expand on your explaination a
little (a lot)?

Gary''s Student Wrote:
I help with a similar task:

1. original list is in column A
2. put deletions in column B
3. enter and run :

Sub cleanout()
Dim s As String
For i = 1 To 500
If IsEmpty(Cells(i, 2).Value) Then
Else
s = Cells(i, 2).Value
Range("A:A").Replace What:=s, Replacement:=""
End If
Next
End Sub

if you have more than 500 deletions, then update the code.

Cells will be just blanked-out, sort to remove the blank cells, if
desired.


--
Gary''s Student


"bill22" wrote:


I have a data base of email addresses of people who have requested

to
receive info from our publication. Each month, our ISP sends me a

list
of email addresses of people who have chosen to be removed from that
list.

What is a good way to have Excel compare the two lists in order to
delete or even better highlight/flag the addresses of the people who
request to be removed?

Bill


--
bill22

------------------------------------------------------------------------
bill22's Profile:

http://www.excelforum.com/member.php...o&userid=35563
View this thread:

http://www.excelforum.com/showthread...hreadid=553196




--
bill22
------------------------------------------------------------------------
bill22's Profile: http://www.excelforum.com/member.php...o&userid=35563
View this thread: http://www.excelforum.com/showthread...hreadid=553196

  #4   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default comparing lists

The text from Sub thru End Sub is a macro. You don't need to do any
programming, just /copy/paste. See:

http://www.mvps.org/dmcritchie/excel/getstarted.htm

for instructionson installing and using macros

--
Gary's Student


"bill22" wrote:


Sorry, I am a bit of a novice. Can you expand on your explaination a
little (a lot)?

Gary''s Student Wrote:
I help with a similar task:

1. original list is in column A
2. put deletions in column B
3. enter and run :

Sub cleanout()
Dim s As String
For i = 1 To 500
If IsEmpty(Cells(i, 2).Value) Then
Else
s = Cells(i, 2).Value
Range("A:A").Replace What:=s, Replacement:=""
End If
Next
End Sub

if you have more than 500 deletions, then update the code.

Cells will be just blanked-out, sort to remove the blank cells, if
desired.


--
Gary''s Student


"bill22" wrote:


I have a data base of email addresses of people who have requested

to
receive info from our publication. Each month, our ISP sends me a

list
of email addresses of people who have chosen to be removed from that
list.

What is a good way to have Excel compare the two lists in order to
delete or even better highlight/flag the addresses of the people who
request to be removed?

Bill


--
bill22

------------------------------------------------------------------------
bill22's Profile:

http://www.excelforum.com/member.php...o&userid=35563
View this thread:

http://www.excelforum.com/showthread...hreadid=553196




--
bill22
------------------------------------------------------------------------
bill22's Profile: http://www.excelforum.com/member.php...o&userid=35563
View this thread: http://www.excelforum.com/showthread...hreadid=553196


  #5   Report Post  
Posted to microsoft.public.excel.misc
bill22
 
Posts: n/a
Default comparing lists


Sorry, I missed your line that says the replaced cells would be blank. I
changed the "" to "removed" to help keep it visual.

Wonder if you can help me with something that has popped up in the
meantime... Something called XY chart labeler keeps opening up with
several windows. How do I disable this or at least get it to keep
opening up?

Appreciated very much your help with the list problem.


--
bill22
------------------------------------------------------------------------
bill22's Profile: http://www.excelforum.com/member.php...o&userid=35563
View this thread: http://www.excelforum.com/showthread...hreadid=553196



  #6   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default comparing lists

You are very welcome.

Sorry I can't help you with chart stuff, I know nothing about them.

There is a discussion group specifically for charts, try opening a new post
the

http://www.microsoft.com/office/comm...a ng=en&cr=US

--
Gary''s Student


"bill22" wrote:


Sorry, I missed your line that says the replaced cells would be blank. I
changed the "" to "removed" to help keep it visual.

Wonder if you can help me with something that has popped up in the
meantime... Something called XY chart labeler keeps opening up with
several windows. How do I disable this or at least get it to keep
opening up?

Appreciated very much your help with the list problem.


--
bill22
------------------------------------------------------------------------
bill22's Profile: http://www.excelforum.com/member.php...o&userid=35563
View this thread: http://www.excelforum.com/showthread...hreadid=553196


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 lists of financial data NG Excel Discussion (Misc queries) 1 January 24th 06 11:11 PM
Comparing two lists in excel that don't match exactly Tina Excel Worksheet Functions 2 May 11th 05 05:00 PM
Comparing lists of map references simonralph Excel Worksheet Functions 0 April 8th 05 01:18 PM
Comparing multiple lists Steve Excel Worksheet Functions 1 March 1st 05 10:06 PM
Comparing 2 Customer Lists to Identify Shared Customers carl Excel Worksheet Functions 2 January 26th 05 07:17 PM


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