I have a sheet, that pulls values from two workbooks to do a comparison. I'd like to make it more flexible, so I believe I need to use the INDIRECT function to set the filename as a varaible.
Attempts to date, in C1 a file path A:\[file.xlsx]Sheet1 in A3 =INDIRECT("'"&C1&"'!B2") and various like combinations to substring the path.
In A3 what the result should be is ='A:\[file.xlsx]Sheet1'!B2 which does behave as expected when I enter it directly.
Any help be appreciated.
Attempts to date, in C1 a file path A:\[file.xlsx]Sheet1 in A3 =INDIRECT("'"&C1&"'!B2") and various like combinations to substring the path.
In A3 what the result should be is ='A:\[file.xlsx]Sheet1'!B2 which does behave as expected when I enter it directly.
Any help be appreciated.