I can use an external reference easily in Excel 2010 like this
Cell A1 : ='BLAH.XLSX'!Fees[[#Totals],[Billable Hours]]
but lets say B1 contains FOO.XLSX
I now want A1 to be
='FOO.XLS'!Fees[[#Totals],[Billable Hours]]
I tried the indirect function
=INDIRECT(CONCATENATE("'", B1, "'!Fees[[#Totals],[Billable Hours]]"))
But this just gives a #REF error, but it resolves (I used the show steps function in excel) to:
=INDIRECT("'FOO.XLSX'!Fees[[#Totals],[Billable Hours]]")
I've tried (played with) a number of things but nothing gives me the reference correctly
suchas =INDIRECT(CONCATENATE("='", B1, "'!Fees[[#Totals],[Billable Hours]]")) which resolves to
=INDIRECT("='FOO.XLSX'!Fees[[#Totals],[Billable Hours]]")
Also I want to avoid VBA to avoid security warnings/dialogs etc., but will accept this if that's the the only way
I feel I'm really close