Linking Workbooks using file names in a range


Mark T

Looking to sum up several workbooks into one master consolidated book.
Want to have the list of names of files to sum up taken from a range,

Col A Col B
FILE1 Actual file1 name here (could change)
FILE2 Actual file2 name here (could change)
FILE3 Actual file3 name here (could change)

The formula to sum the data is in each Cell on the master book (and is
the SAME Cell as on the individual sheets, just taking the data from
each one and summing it).

Would look something like this:


The File names could change but it shouldn't matter because the link is
looking for the range names FILE1, FILE2, FILE3.

It doesn't seem possible to get the links to work when the source is a
range name.

Any ideas?





Harlan Grove

check out indirect()

You forgot the closing double quote and the right parenthesis. But
more fundamentally, INDIRECT doesn't work unless the other files are
open. Excel can't load multiple files with the same base filename, so
OPEN files NEVER need their drive/directory paths preceding their base

If the OP needs the drive/directory paths, then the OP's files aren't
open when being accessed, and in that case INDIRECT won't work.

For alternative workarounds, see

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question