LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default Delete entries that match second sheet.

Hi Sam
Are you sure that name and address data are completely the same? Mailing
list are notorious for all types of errors to creep in. There are
specialist tools aimed at this market and you might consider one of these
rather than trying to emulate these in Excel.

I have a lot of experience in this area - I use a product called Match-It
but there are others. Try a search on the web for mailing list deduping
tools.

If you really want to use Excel, then you might consider building a match
key by taking elements from each column in each sheet and then using the
keys to look for duplicates. This proces of list matching can be long
winded. Another approach is to combine both lists (appropriately marking
each record with the sheet source). Then sorting the file using the match
key and the sheet source field. Duplicate are now neighbours and it would
be a simple process of running through the list to mark duplicates and then
remove them.

It also sounds like you might run out of space in Excel, so watch the 65K
limit row limit.

Cheers
Nigel

"Sam" wrote in message
om...
About 3 times a year I process excel lists(Mail Out List)of several
thousand names from various databases for policial mail outs.

I also have an excel spreadsheet(Delete List)of several hundred names
we always remove - (if they exsist) from any newly created mail out
list.

Both the Last Name and the Address need to match when the delete
list(sheet2) is comared to the mail out list(sheet1) and any matching
entries (entire row) needs to be deleted from sheet1 (Mail Out List)
and the remaining rows moved up.


Sheet1:
A large spreadsheet (49,000+ entries). Headings listed below:

FirstName(A1),LastName(B1),Address(C1),City(D1),St ate(E1),Zip(F1)

Sheet2:
A second spreadsheet of several hundred entries (same headings as
above) - all these entries need to be removed from sheet1 (if they
exsist).

I've looked - and have found some macros that are close - but haven't
found any yet that look at and compare more than one column of data.

Appreciate any help,
Thanks
Sam





----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
 
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
Only allow users to edit in sheet, not delete any entries entered rrupp Excel Discussion (Misc queries) 4 October 14th 13 06:48 PM
Delete entries in Go To hac1932 Excel Discussion (Misc queries) 0 March 13th 09 06:15 PM
find duplicate entries and delete them? Agnitoood Excel Worksheet Functions 1 February 28th 05 10:53 AM
How can I do a "best match" for text entries? NeedDataHelp Excel Worksheet Functions 1 February 25th 05 12:27 AM
How do I delete duplicate entries? Chris Mitchell Excel Worksheet Functions 3 November 4th 04 02:43 PM


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

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"