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!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,668
Messages
5,838,680
Members
430,563
Latest member
Raeyven

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