Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have two spreadsheets: [spreadsheet 1] and [spreadsheet 2].
[spreadsheet 1] is a master list of people, contact information, etc. [spreadsheet 2] is a smaller, selected list--everyone in this list appears in [spreadsheet 1] I want to open [spreadsheet 2] and go line-by-line and look up in [spreadsheet 1] "name last" and "name first" (the two common columns in both spreadsheets) and create a new [spreadsheet 3] that pulls the data (i.e. contact info, etc.) from [spreadsheet 1] for everyone listed in [spreadsheet 2]. Thoughts on how to do this? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On 23 Mar, 18:28, "Benjamin Chait" wrote:
I have two spreadsheets: [spreadsheet 1] and [spreadsheet 2]. [spreadsheet 1] is a master list of people, contact information, etc. [spreadsheet 2] is a smaller, selected list--everyone in this list appears in [spreadsheet 1] I want to open [spreadsheet 2] and go line-by-line and look up in [spreadsheet 1] "name last" and "name first" (the two common columns in both spreadsheets) and create a new [spreadsheet 3] that pulls the data (i.e. contact info, etc.) from [spreadsheet 1] for everyone listed in [spreadsheet 2]. Thoughts on how to do this? My favourite method would be to link both sheets into Access, and write a query which went something like this: SELECT * FROM spreadsheet1 INNER JOIN spreadsheet2 ON (spreadsheet1. [name first] = spreadsheet2.[name first] AND spreadsheet1.[name last] = spreadsheet2.[name last]); (I've not tested that. It also assumes that the combinations of first and last names are unique. It would be better if each row had a URN, ie Unique Reference Number.) You could even export the result as an Excel spreadsheet. Of course, this isn't much help if you're not familiar with Access or even don't have it installed. Did you mean a solution involving VBA? That would be fairly straightforward, but not so short & quick to write that I'm going to do it here. Unless you pay me. Not straightforward with worksheet functions either. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I combine spreadsheets and documents in one file? | Excel Discussion (Misc queries) | |||
How do I combine spreadsheets? | Excel Discussion (Misc queries) | |||
how do i combine two separate spreadsheets? | Excel Discussion (Misc queries) | |||
Combine information about products from 2 spreadsheets | Excel Worksheet Functions | |||
Combine two spreadsheets using Macro | Excel Worksheet Functions |