FormulaCamp
Completed
3. Formula Basics · Sheets and Errors · 20 min

9. Links to Other Workbooks

Lesson 9 of 14
Task 1 of 3
  1. On the "Order" sheet, in C2:C5, pull the dollar price from the "Price List 2026" sheet (the name has spaces, so it needs apostrophes).

Lesson theory

A formula can take data not only from another sheet but from another file. Start typing a formula, switch to the open workbook and click a cell, and Excel writes the reference for you:

='[Price List 2026.xlsx]Sheet1'!$B$2
  • the file name goes in square brackets, followed by the sheet name and !;
  • if the workbook or sheet name contains a space, everything before the ! goes in apostrophes, just like for the sheet 'Price List 2026'!B2;
  • when the source workbook is closed, Excel adds the full path: ='C:\Reports\[Price List 2026.xlsx]Sheet1'!$B$2;
  • references to other workbooks are absolute ($B$2) by default.

Updating. When you open a file with links, Excel shows a warning with an "Enable Content" or "Update" button. The list of all links is under Data › Edit Links (newer versions call it Workbook Links). There you can update them, change the source to another file or break them, which turns the formulas into values.

Pitfalls: if you rename or move the source file, the link breaks (you get #REF! or old values); INDIRECT does not work with a closed workbook; and a colleague without access to the folder will see the last saved numbers. For regular loading of data from files, Power Query is more reliable.

The trainer has no second workbook. The closest equivalent is a reference to a sheet in the same workbook: the syntax is the same, just without the [File.xlsx] part. Here the "Price List 2026" sheet plays the part of an external price list, and the "Rates" sheet plays the part of a file with the exchange rate.

Test yourself

1. Which is the correct reference to cell B2 of the sheet "Sheet1" in the workbook "Prices.xlsx"?
2. When do you need apostrophes in a reference to another workbook?
3. The source file was renamed. Where can you fix the links without rewriting the formulas?
4. What does "Break Link" do?
fx

Enter — commit · F2 — edit · F4 — $ in a reference · Ctrl+C/Ctrl+V — copy and paste · Ctrl+Z — undo

Esc or F6 — leave the sheet for the «Check» button · Shift+Tab in the first cell — back to the page