Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 1009

How do you make a dynamic link to another workbook?

$
0
0

I have numerous workbooks titled in the format "Year Detailed", e.g. "2000 Detailed.xlsx", "2001 Detailed.xlsx", ... "2018 Detailed.xlsx".

I am trying to make a summary sheet in another workbook, Summary.xlsx.

Is there a way to dynamically link to another workbook where part of the workbook name is based on the value of a cell?

For example, column A is a list of years starting A1 = 2001, and column B is a "total" column that looks at the workbook for "2001 Detailed" and does some math magic to return a value.

So this does what I want

=SUM('[2001 Detailed.xlsx]Friday Detail'!$K$4,'[2001 Detailed.xlsx]Saturday Detail'!$K$4)

But I then have to re-write it for each year to update the referenced file to the next year.

I have tried to make a Defined Name to do it. I have tried to concatenate in the formula but it just opens a Finder window to open the file.


Viewing all articles
Browse latest Browse all 1009

Trending Articles