Hi Edward,
I like Brad's solution. One thing I'd like to mention..
There is software available to do just what you need. The procedure is called a "merge/purge", a very common issue in the direct mail industry. Many of them can do "fuzzy" matches, so slight differences in names, addresses etc. can be ignored.
Try Googling on "Direct Mail software". You'll find many products. Most have additional features that you may find useful as well. Purchase one only if you need this perform this procedure frequently.
Regards,
Justin
Main Topics
Browse All Topics





by: byundtPosted on 2004-08-21 at 21:23:31ID: 11862407
Hi Edward,
00,C5)>0
Consider using Advanced Filter to get only those rows that are matches of first and last name. To do this, you will need to add auxiliary columns to both lists. The formula will be a concatenation of first and last names:
=TRIM(A1& "|" & B1) This formula may be copied down
I assume that the data is on two different worksheets in the same workbook.
To use the Advanced Filter, Put four blank rows above your data in the worksheet with the other contact information. Leave the first and third rows blank. In the fourth row enter header labels (like First, Last, Concatenate, Address, etc.). In the second row, add the criteria formula that applies to the concatenation of first and last names:
=COUNTIF("Sheet1!$C$1:$C$5
This formula assumes that Sheet1 contains the first set of names (and that the this formula is on a different worksheet)
Select the data and its headings, then open the Data...Filter...Advanced Filter menu item. The List range field should already be filled in. Enter the address of the Criteria (rows 1 and 2 in the same columns) in the Criteria range field. Then check the Filter in Place option button at top. Finally, click OK and rows containing names that don't match Sheet1 should be hidden. After the filtering is done, you can copy the visible rows and paste them elsewhere (without the duplicate rows accompanying them).
Cheers!
Brad