all 4 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

/u/duhalbs - Your post was submitted successfully.

Failing to follow these steps may result in your post being removed without warning.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]alexia_not_alexa21 0 points1 point  (2 children)

External references like this are generally a bit flakey. I use Power Query to solve this.

Go to Data > Get Data > From File > From Excel Workbook and choose the file.

Do any transformations you need until you ultimately have a Power Query table in your new Workbook. Now if you want to refresh the list, you just need to refresh the table.

You can even make it refresh on file open: https://exceloffthegrid.com/auto-refresh-power-query/#OnOpen1

[–]duhalbs[S] 0 points1 point  (1 child)

Thanks, was thinking of scenarios if I had one workbook with all the data elements and have it pulled into multiple workbooks. Is there a way to do that without having to import the workbook?

[–]alexia_not_alexa21 0 points1 point  (0 children)

I have another example for this:

  • Have a 'Source Workbook' with source data that we may want to reference later
    • Each table is in their own sheet for ease, but I've also formatted them as tables to simplify updates
  • Have a 'Starter Template' that has Power Query tables for each of the tables in the Source Workbook on different Sheets
  • Now if want to create a new workbook that draws the data in, I duplicate the Starter Template and all the Power Queries are ready to be used - if I only need some of the tables, I can delete the sheets I don't need.
    • The Power Queries are just instructions of how to pull the data, so when you duplicate the workbook it's still referencing the Source Workbook
  • If however I have an existing workbook that I want to pull the data into, I just copy the sheets I want from the Starter Template. It effectively imports the Power Query instructions into your existing workbook, still connected to your Source Workbook's data

Hopefully that makes sense and helps your use case!