Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 06-30-2009, 05:24 PM
Effteekay Effteekay is offline
Registered User
 
Join Date: 20 Apr 2009
Location: Iowa City, IA
MS Office Version:Excel 2007
Posts: 3
Effteekay is becoming part of the community
Pulling relative information from a seperate workbook

Please Register to Remove these Ads

I've been creating a series of workbooks that pull information from one another to make reporting in our organization easier, but I've run into an issue that I can't quite figure out how to solve.

I prefer to use spreadsheet formulas, as my programming isn't that great, but If I have to use Basic, I will. The ultimate goal is as follows:

Workbook 1 has a list of employees (WB 1, Column A) and their employee numbers (WB 1,Column B). Workbook 2 has the same list of employees (WB 2, Column A), but in a different (and what will unavoidably be random) order. Now, the trick I'd like to pull is to have Workbook 2 reference it's own list of employees (WB 2, Column A) and fill the employee numbers into a new column (say, WB 2, Column B) to match the employee name.

To further clarify, Workbook 1 may look like this:

A B
Joe Smith #132
John Johnson #654
Eric Erickson #278
Steve Stevenson #236

And Workbook 2 may contain the same names, but in a different order:

A B
John Johnson #
Steve Stevenson #
Joe Smith #
Eric Erickson #

Now, what's the best way to go about populating column B in the second workbook with the appropriate numbers? Keep in mind, this is a process that needs to be repeated every week, so if it could happen automatically through spreadsheet formulas, that would be the best. Thanks to anyone who can help me out!
Reply With Quote
  #2  
Old 07-01-2009, 01:23 AM
kimbal kimbal is offline
Registered User
 
Join Date: 15 Jun 2009
Location: Hong Kong, CN
MS Office Version:Excel 97-2010
Posts: 17
kimbal is becoming part of the community
Re: Pulling relative information from a seperate workbook

Hi Effteekay,

Does the vlookup formula help?
Please take a look at Column B of WS2.
just changing the reference in the formula ws1!$A:$B, so you can match the record with different workbook.
Attached Files
File Type: xls ef0701b.xls (13.5 KB, 5 views)
__________________
We build a new way to dream
http://kimbalko.blogspot.com
Reply With Quote
  #3  
Old 07-09-2009, 11:45 AM
Effteekay Effteekay is offline
Registered User
 
Join Date: 20 Apr 2009
Location: Iowa City, IA
MS Office Version:Excel 2007
Posts: 3
Effteekay is becoming part of the community
Re: Pulling relative information from a seperate workbook

That works perfectly. Thank you so much for your help.
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump