A lot of people know that you can link one spreadsheet to another just by using a simple formula. What most people don’t know is that you link one spreadsheet to another using Power Query (a function within Excel). And even fewer people know that you can create a link to a folder and Power Query will pull in the data from ALL the spreadsheets in that folder. This means that you can connect spreadsheets without using filenames!
This can make a very powerful connection.
You don’t have to specify how many spreadsheets are in the folder.
You don’t have to specify what the file names are.
You do, however, need to have some similarity between the workbooks that are in the folder for all of this to work as intended.
A good way to do that is to have a table in each of the workbooks in the folder that contains the data that you want to pull out of the spreadsheets. This table should have the same name in each of the files. This is how Power Query finds the information within each of the workbooks. Each of those tables should have the same column names.
To get started go to the Data menu, Get Data, From File, From Folder. (Keys: Alt A, PN, F, F)

This will bring up folder choose box where you can select the folder that contains the files that you want to combine.
At the next step click Combine and then choose which option you want. I normally go with Combine & Transform Data.

From there Power Query will create the required queries to pull in all the data from every spreadsheet in the folder and combine into one. You can then do all the normal Power Query things like add or remove columns, group, sort, etc.
So, next time you need to move data between spreadsheets, consider Power Query. And if you need to connect spreadsheets without using filenames use Combine!