Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default comparing 2 excel spreadsheets

I'm wondering if the following can be done in Excel and if not, if anyone can
recommend a 3rd party tool or script that can do this.

I have two spreadsheets. Spreadsheet1 consists of a thousand Contacts
including columns First Name and Last Name. Spreadsheet2 has a similar list
of Contacts with (First Name, Last Name, AND Email Address). I'd like
Excel/script to scan the records and if the First Name and Last Name in
Spreadsheet2 exists in Spreadsheet1, to copy the email address field of that
contact to Spreadsheet1.

Any ideas? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 694
Default comparing 2 excel spreadsheets

Hi David:

There are a couple of ways to do it but the way I prefer is to make a new
column in your list of contacts with the email addresses (sc2). Insert the
column in column C.

Now in the first row in column c put (cell c2?) =a2 &":"&b2.
Ccopy this down for all the cells where you have contacts.
This has made a unique key or id.

Now back in the other spreadsheet (sc1) in the column where you want the
addresses put this

=vlookup(a2&":"&b2,sc2!c:d,2,false)

you may need to adjust the sc2 address to get it to work, the easiest way to
do it is in the function box select the columns.

this should work.

You may have problems with spaces, capitalization and minor differences in
names and duplicate names.

This will get you started.


--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Davidi" wrote:

I'm wondering if the following can be done in Excel and if not, if anyone can
recommend a 3rd party tool or script that can do this.

I have two spreadsheets. Spreadsheet1 consists of a thousand Contacts
including columns First Name and Last Name. Spreadsheet2 has a similar list
of Contacts with (First Name, Last Name, AND Email Address). I'd like
Excel/script to scan the records and if the First Name and Last Name in
Spreadsheet2 exists in Spreadsheet1, to copy the email address field of that
contact to Spreadsheet1.

Any ideas? Thanks.

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 spreadsheets Janis Excel Discussion (Misc queries) 2 July 17th 07 03:34 PM
Comparing spreadsheets VSExcel Excel Worksheet Functions 2 February 5th 07 11:01 PM
Comparing Two Spreadsheets DCSwearingen Excel Worksheet Functions 1 September 17th 05 05:36 PM
comparing excel spreadsheets from command line grahamo Excel Discussion (Misc queries) 3 July 25th 05 01:21 PM
comparing 2 spreadsheets Danny Excel Discussion (Misc queries) 3 July 11th 05 12:56 PM


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