Yes, you can easily connect Excel files to reference data from other files—this avoids manually copying and pasting, saves time, and keeps your work linked dynamically. The simplest method is to use external data references (linked workbooks), which point to cells in another file rather than copying them. This works best in Excel 2013+, and on Mac or Windows, with minor tweaks for older versions.

What You'll Need

  • A second Excel file containing the data you want to reference
  • Excel installed on your computer (desktop or mobile)
  • Access to the source file when you want to refresh it
  • Optionally, version control software if you’re tracking linked files

Step-by-Step

  1. Open the Excel file where you want to reference data: - Click File > Options and scroll to Add-ins. Under Manage: Excel Add-ins, click Go. - In the dialog, check Go Online Add-ins and click OK to install the Microsoft Query add-in (if not already installed). Labels may differ slightly by version or region. - Close the add-in window.
  2. Enable data connections in the target file: - Go to Data > Get Data > From File > From Workbook. This opens the Link to Workbook dialog. - Browse and select the file containing the data you want to reference. - In the dialog that appears, select the worksheet you want to connect to. - Click OK. A preview of the data will appear.
  3. Edit the data reference: - Click the Edit Connection button in the ribbon (Data tab > Connections pane). - Under Worksheet Options, check Refresh on File Open (if you want the connection to refresh automatically when the source file opens). - Optionally, set Refresh on Demand to manually trigger updates. - Click OK to save.
  4. Use the data in your worksheet: - Drag the data range from the preview into your main worksheet (as if copying). - To reference specific cells, select the cell where you want the value to appear, then click the Data tab > From Other Sources > From Table/Range. - Manually enter the cell reference (e.g., A1) and press Enter. - The cell will now reference the linked workbook’s value from A1.
  5. Refresh the link: - To update the data from the source file, go to the Data tab and click Refresh All (or select individual connections and refresh them). - Alternatively, right-click the data preview and choose Refresh.

Common Mistakes

  • Source file not open: Excel requires the source file to be open to refresh data. If it’s closed, click Refresh again or manually reopen the file.
  • Path issues: If the source file is on a network drive or USB, ensure Excel has permission to access it. Restart Excel or your PC if access fails.
  • Excel won’t refresh: older Excel versions (pre-2013) may not support linked workbooks directly. Use Power Query instead: Data > Get Data > From File > From Workbook, then choose From Workbook and edit the connection path.
  • Circular references: If two files reference each other, Excel will block the link or show an error. Break the cycle by editing one file first.
  • Data type mismatch: If the source data has different formats (e.g., text vs. numbers), Excel may truncate or misalign values. Use the Edit Connection button to adjust formatting.

Tips

  • Use Power Query for dynamic updates: If linking isn’t working, Power Query often handles complex refreshes better. Open Data > Get Data > From File > From Workbook, then choose Power Query Editor to manage connections.
  • Store source files centrally: Save the original data in a shared folder (e.g., Google Drive) to avoid path issues and simplify updates.
  • Label your links: Add a header like next to referenced cells to track dependencies.
  • Test refreshes: Open the source file and save changes, then refresh the target file to confirm updates appear. If not, check the Refresh All button appears enabled.
  • Avoid linked formulas: If you’re not using Power Query, manually write formulas like =Sheet2!A1 (note the ! to reference cells in another workbook) instead of dragging data.
  • Backup source files: Regularly save the source data in a version-controlled folder to prevent corruption if Excel crashes during refreshes.

Troubleshooting

If linking fails, check these steps in order:

  1. Verify file access: Ensure both files are in the same folder or explicitly specify the full path in the Link to Workbook dialog.
  2. Check file permissions: If files are on a network drive, confirm the user has read access to both files. Restart Excel or your PC if access is denied.
  3. Update Excel: Older versions lack full support for linked workbooks. Update to the latest Excel version or use Power Query as a workaround.
  4. Clear cached data: Go to File > Options > Advanced, scroll to Objects, and click Clear to remove cached references.
  5. Recreate the connection: Delete the existing connection from the Data tab > Connections pane, then recreate it from Data > Get Data > From File > From Workbook. Ensure you select the correct workbook and worksheet.
  6. Restart Excel: If files are stuck, close all Excel instances and restart the program to reset connections.
  7. Use a temporary file: If the source file is corrupted, copy the data sheet to a new workbook and link to that instead. This avoids errors in the original file.

Frequently Asked Questions

1. How do I link Excel to a Google Sheets file?

You cannot directly link Excel to Google Sheets, but you can use Power Query to import Google Sheets data into Excel. Go to Data > Get Data > From Other Sources > From Google Sheets, then follow the prompts to connect and refresh data.

2. Can I link an Excel file to a folder with multiple files?

No. Linked workbooks can only reference a single workbook. To link to multiple files, create a master file that contains references to each source, or use a central folder to host all data in a single file.

3. Why does Excel show "Cannot Refresh"?

This error typically occurs if the source file is closed, corrupted, or the path is invalid. Check the file is open, the path is correct, and Excel has permissions to access it. If the issue persists, try recreating the connection.

4. Is there a way to link Excel to a cloud-based data source like AWS or Airtable?

Yes, use Power Query to connect to cloud services. For AWS, go to Data > Get Data > From Other Sources > From AWS. For Airtable, use Get Data > From Other Sources > From Web and enter Airtable’s API URL.

5. How do I stop Excel from locking up when refreshing links?

Update Excel to the latest version, close unnecessary programs, and avoid refreshing large datasets. If Excel still freezes, disable the "Refresh on Demand" option and only refresh when needed.

6. Can I use linked workbooks in Excel Online?

No. Linked workbooks are a desktop feature in older Excel versions. Use Power Query for online data connections instead.