Lookup formula?

HeyMoe

New Member
Joined
Apr 29, 2008
Messages
7
I need to link information from one workbook to another workbook. What formula do I use? Example:

Workbook 1 has one worksheet --

Column A has several different client #s (some #s will be repeated in several rows)
Columns B-E has information regarding the clients

Workbook 2 will have a worksheet for each client --

I want Columns A-D to get the information from columns B-E of the first workbook based on the client #

Any help with this would be very appreciated
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Welcome to the board...

to make things MUCH easier, and more efficient, make sure that in Workbook 2, you put each client # in each Sheet Somewhere, not just the name of the tab....Say A1 for example...

Then in A2 of each sheet of workbook 2, you can use this formula to extract the relevant data from Workbook 1

=Vlookup($A$1,'C:\Path\[Book1Name.xls]Sheet1'!$A:$E,Columns($A1:B1),False)
Fill Right to column D

If book 1 is already open at the time you enter the formula, you can drop the path
C:\Path\

Hope this helps..
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,808
Messages
6,121,686
Members
449,048
Latest member
81jamesacct

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top