Inserting cell values into workbook reference

toast2266

New Member
Joined
Jan 14, 2014
Messages
1
I'm trying to create a summary that pulls data from other workbooks, and I'm trying to come up with a less time consuming way to create that summary.

The specific data I'm referencing is in the same location in each of the other workbooks, so the name of the workbooks changes, but the cell locations are always the same.

Currently, I'm entering the names of each of the files I want to reference in column A of the summary. I want a formula that will take the name from column A and insert it into the workbook reference for specific cells.

So, for example, if column A has the name of an excel file called "Name1" and I wanted to reference cell B1 from that workbook, the formula would read "='C:\Documents\[Name1.xlsx]Sheet1'!$B$1"
I want the formula to pull whatever value is in Column A for that row, so something like "='C:\Documents\[A1.xlsx]Sheet1'!$B$1" (except that doesn't work). The goal is to fill in the file names in column A and then autofill the remainder of the cells.

Is there any way to make this work?

I'm excel '07

Thanks in advance!
 

Some videos you may like

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Watch MrExcel Video

Forum statistics

Threads
1,122,327
Messages
5,595,526
Members
413,996
Latest member
mabelO

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
Top