Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default how do i scrub two list for any matches in excel?

I'm trying to scrub a list of phone numbers (approximately 4000) from old
clients against the National Do Not Call List....

I have my numbers in an excel worksheet, and the DNC numbers in a CSV file.

Is there anyway that I can scrub the list without doing a large number of
=OR( ) functions?

Thanks
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: how do i scrub two list for any matches in excel?

Yes, there is a way to scrub the list without doing a large number of =OR() functions. You can use the VLOOKUP function in Excel to compare the phone numbers in your list with the numbers in the National Do Not Call List.

Here are the steps to do this:
  1. Open both the Excel worksheet with your phone numbers and the CSV file with the National Do Not Call List.
  2. In the Excel worksheet, insert a new column next to the column with your phone numbers. This will be the column where you will check for matches with the National Do Not Call List.
  3. In the first cell of the new column, enter the following formula: =VLOOKUP(A2,[National Do Not Call List.csv]Sheet1!$A:$A,1,FALSE)
  4. Replace "A2" with the cell reference of the first phone number in your list.
  5. Replace "[National Do Not Call List.csv]" with the file path and name of the CSV file.
  6. Replace "Sheet1" with the name of the sheet in the CSV file where the phone numbers are located.
  7. Replace "$A:$A" with the column range in the CSV file where the phone numbers are located.
  8. Copy the formula down to all the cells in the new column.
  9. Any phone numbers that match the National Do Not Call List will have a value in the new column. Any phone numbers that do not match will have a #N/A error.
  10. You can filter the new column to show only the phone numbers that match the National Do Not Call List.

That's it! This method should save you a lot of time compared to using a large number of =OR() functions.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default how do i scrub two list for any matches in excel?

Chip Pearson has lots of techniques to work with duplicates:
http://www.cpearson.com/excel/duplicat.htm

Neil Davies wrote:

I'm trying to scrub a list of phone numbers (approximately 4000) from old
clients against the National Do Not Call List....

I have my numbers in an excel worksheet, and the DNC numbers in a CSV file.

Is there anyway that I can scrub the list without doing a large number of
=OR( ) functions?

Thanks


--

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
Excel 2003 list of field codes for footers? SS.Minnowski Excel Discussion (Misc queries) 4 April 21st 06 05:13 PM
Data Val list Excel 97 fire macro rgarber50 Excel Discussion (Misc queries) 4 October 9th 05 05:19 PM
Get excel to list values that occur within raw data dennis34 Excel Discussion (Misc queries) 2 October 5th 05 12:09 PM
Excel List range, filter arrows disappeared andrew Excel Discussion (Misc queries) 3 April 1st 05 11:30 PM
How do I import a Windows Explorer list into Excel? Gord Dibben Excel Discussion (Misc queries) 0 December 1st 04 11:20 PM


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