Referencing info in a closed XLS file

Ody

Board Regular
Joined
Oct 14, 2010
Messages
215
Hello all,

I'm attempting to create a roll up workbook that pulls information from other closed xls files. I'm basically just copying information from various points in other workbooks into another workbook.

I've read I can do this using a lookup formula. Is this possible? What's the easiest way for me to accomplish my goal?

Thanks!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
It can be done. Have you used LOOKUP functions (Lookup, VLookup, HLookup) before?
 
Upvote 0
Try creating the lookup like you would with any other lookup (selecting the range with your mouse). When you go to the other workbook, it will create the proper reference.

Basically, instead of referring to just the sheet or just the workbook name, it will reference the entire filepath as well.

For example:

If you want to do a VLOOKUP on A1:B10 in Sheet1 in a workbook named "Pricing.xls" that is in the directory "C:\Excel Files\Database", and you are comparing A1 to it, you would use

=VLOOKUP(A1,'C:\ExcelFiles\Database\[Pricing.xls]Sheet1'!A1:B10,2,0)
 
Upvote 0
So in your example, even though the Pricing.xls file is closed, it'll still return the appropriate value?

I'll have to give that a shot. Thanks.
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,813
Members
452,945
Latest member
Bib195

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