The Defined names only works within the same workbook. It does not work for going over multiple workbooks as I have tried that strategy and it did not work for me. Not only that, but it is stated as such in the help files.
Example, if you named a range in Book1.xls with the name of "MyLineTotalRange"
and you tried to refer to that range via the name from within "Book2.xls" like:
=SUM('[Book1.xls]Sheet1'!MyLineTotalRange)
This formula would fail to return an expected result cause it's using a name to refer to an external workbook.
What I did to overcome this issue, I used indirect formulae to make my links more dynamic. Yes, the formulae tended to get rather ugly, but here's an example of one that I have done.
=ADDRESS(4,COUNTA(INDIRECT(ADDRESS(ROW()+1,MATCH("WEEK",INDIRECT(ADDRESS(ROW()+1,1)):INDIRECT(ADDRESS(ROW()+1,256)),0)+10)):INDIRECT(ADDRESS(ROW()+1,COLUMN())))+11)
Wish I had a better example that included external workbook reference, but what this example does show, how to use the various lookup and information functions.
Here's another example that I have used:
=VALUE(INDIRECT("'\\FileServer01\Organizations\Production\[Man hours.xls]Sheet1'!$B$"&COLUMN()-11))
As time went, the amount of data and formulae got to such an extent that not only was my data broken down to multiple workbooks to address the RAM usage issue of Excel, but eventually, the number of external links also became an issue to the point that I had to use VBA coding instead to gather the information. Now, I'm moving into the direction of moving a lot of my stuff into Access.
Ronald R. Dodge, Jr.
Production Statistician
Master MOUS 2000
When the going gets tough, the tough gets going.