Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Lookup+combine two spreadsheets into third

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Lookup+combine two spreadsheets into third

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
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
How do I combine spreadsheets and documents in one file? Trish Excel Discussion (Misc queries) 3 November 9th 06 09:17 PM
How do I combine spreadsheets? Jennifer Excel Discussion (Misc queries) 2 August 31st 06 09:33 AM
how do i combine two separate spreadsheets? Merging Spreadsheets Excel Discussion (Misc queries) 1 March 2nd 06 04:42 PM
Combine information about products from 2 spreadsheets wstaylor81 Excel Worksheet Functions 1 December 15th 05 12:38 AM
Combine two spreadsheets using Macro jlogsdon Excel Worksheet Functions 0 May 23rd 05 11:14 PM


All times are GMT +1. The time now is 09:47 PM.

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"