Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

linking spreadsheets

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Linking spreadsheets

Linking spreadsheets

ResolvedVersion Standard

Nicky has attended:
Excel Introduction course

Linking spreadsheets

Hi Team, I completed the foundation excel training but two members of my team completed intermediate.

They covered how to link tabs on spreadsheets and have learnt how to link spreadsheets so data pulls into the other.

The issue they are having is that the spreadsheets are saved on Teams and for the data to pull through all spreadsheets have to be open which are linked.

Is there a way the data pulls through without opening all spreadsheets linked?

Hope that makes sense.

Thanks

RE: Linking spreadsheets

Hi,
This post was added to our 'Improve the forum suggestions' thread.
I have moved it to our Excel thread.
Apologies for the delay.
Regards, Rich

RE: Linking spreadsheets

Hi Nicky,

Apologies for the delay in replying to this post, it seems to have got missed in our system.

It sounds like your team members are encountering a common limitation when linking Excel files stored on Microsoft Teams (or SharePoint/OneDrive generally) using traditional external links. When you link cells directly between workbooks (e.g., using a formula like `='[AnotherWorkbook.xlsx]Sheet1'!A1`), Excel typically requires the source workbook to be open to refresh the data, especially if the link refers to a specific cell or range.

Here are a few strategies and explanations for why they might be experiencing this, and how to potentially overcome it:

**Why They Are Experiencing This (and Why Opening is Needed for Direct Cell Links):**

* **Direct Cell/Range Links:** When you create a formula like `='[AnotherWorkbook.xlsx]Sheet1'!A1`, Excel needs to access that specific cell's content. If the file isn't open, Excel can't "see" the live value. It often stores the *last known value* but won't update until the source is opened.
* **Teams/SharePoint/OneDrive Integration:** While these platforms make sharing easy, they don't inherently change how Excel's linking mechanism works at a fundamental level. The files are still individual Excel workbooks.

**Solutions to Pull Data Without Opening All Spreadsheets:**

1. **Power Query (Get & Transform Data) - Recommended!**
This is by far the most robust and recommended solution for this scenario. Power Query is built into Excel (Data tab > Get & Transform Data group).

* **How it Works:** Power Query can connect to external data sources, including Excel files stored on SharePoint/Teams (which is essentially SharePoint). It pulls the data into your current workbook as a table. The beauty is that it performs the "opening" and "reading" of the source file *in the background* when you refresh the query, without needing to visually open the source workbook.
* **Steps (General Idea):**
1. In the destination spreadsheet, go to `Data > Get Data > From File > From Workbook`.
2. Navigate to the Excel file on your Teams/SharePoint site. You'll likely need to paste the SharePoint/Teams file path.
3. Select the sheet or table you want to pull data from.
4. Transform the data if needed (e.g., choose specific columns, filter).
5. Load the data as a table into your current worksheet.
6. **To refresh:** Right-click the loaded table and select "Refresh," or go to `Data > Refresh All`. Power Query will go out, read the source file (even if closed), and update your data.
* **Benefits:**
* No need to open source files.
* More robust and less prone to broken links than traditional external links.
* Can handle larger datasets efficiently.
* Allows for data transformation and cleaning.
* Can combine data from multiple files/sheets.

2. **OneDrive Sync Client (Less Ideal for Shared Workflows, but an Option):**
If the files are synced locally via the OneDrive sync client, Excel might sometimes be able to refresh links without opening, *if* the local sync is up-to-date and the file isn't actively locked by another user. However, this is less reliable for a shared team environment where multiple people are editing files simultaneously, as it can lead to version conflicts. Power Query is generally preferred for team collaboration.

3. **VBA (Macros) - More Complex, Often Overkill:**
You could write VBA code to open the source workbook silently (e.g., `Workbooks.Open "FilePath", UpdateLinks:=False, ReadOnly:=True`), copy the data, and then close it. However, this requires macro security to be enabled and is significantly more complex than Power Query for this specific task.

**Recommendation:**

**Strongly advise your team to learn and implement Power Query.** It's a fundamental skill for anyone working with data in Excel, especially in collaborative environments like Teams. There are many excellent tutorials available online (e.g., YouTube, Microsoft Learn) that specifically cover connecting Power Query to files on SharePoint/Teams.

By shifting to Power Query, they will overcome the "all spreadsheets must be open" hurdle and gain a much more powerful and flexible way to manage data dependencies.

Thu 31 Jul 2025: Automatically marked as resolved.

 

Training courses

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

The dual nature of toolbar buttons

Many toolbar buttons are dual purpose, though the two purposes are often linked in some way. For example, Align Left aligns a cell's contents to the left of the cell. However, hold down Shift and press the Align Left button: Excel aligns the cell contents to the right.
You may respond: So what? Well, you can reduce the number of buttons on your toolbar to make your screen less cluttered and allow more room for, perhaps, some of your own commands. After all, what's the point of an Align Right button when Shift+Align Left does the same thing?

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.