Jul 15 2020 04:05 PM
I have a workbook with a worksheet (tab) named West, and a worksheet named DBname. Cell A1 of worksheet DBname contains the name of another workbook named Foobar.xlsx. In cell I4 of the West worksheet I want to use the contents of DBname!A1 to identify that external workbook, and resolve the path to a tab named 'DatabaseName' and cell A1 in that workbook. Cell A1 in tab DatabaseName in Foobar.xlsx contains "This is the database". DBname!A1 contains "Foobar.xlsx'. In summary, West!I4 wants to use the contents of cell A1 in the DBname tab as the name of another workbook, and wants to pull the contents of cell A1 in the tab DatabaseName and display that as the resolved value of cell I4.
So, West!I4 needs to contain something like "=['DBname'!A1]DatabaseName!$A$1". But Excel reports that "['DBname' is not valid". By the way, this is in Excel 2011 on Mac.
Sep 08 2021 04:34 PM