Cell References

Why Links to Other Workbooks Break in Excel

Excel links to other workbooks break when the source file moves, is renamed or is deleted. Learn how to find the links and repoint or break them safely.

On this page
  1. What a link to another workbook looks like
  2. Why links break
  3. What you may see
  4. Find every link
  5. Repoint or break a link
  6. Look for hidden links
  7. Prevent future breaks
  8. Be careful with unknown links

A formula can point at a cell in a different Excel file. Excel stores the file’s location inside the formula, for example:

='C:\Budgets\[2026 Budget.xlsx]Summary'!$C$8

When the source file is open, Excel often shows a shorter form, with only the file name in brackets.

Excel looks for the source file at the stored location. The link breaks when that location no longer works. That usually happens when:

  • the source file is moved to another folder, drive or computer
  • the source file is renamed
  • the source file is deleted, or replaced by a copy with a different name
  • the sheet or cells the formula uses are renamed or deleted in the source file
  • the workbook is shared with someone whose folder layout is different

What you may see

Opening the workbook can bring up a security or update prompt about links. Cells may keep their last saved values. If Excel tries to update a link and cannot find the source, the affected cells can show #REF!.

Go to Data > Edit Links. The button appears only when the workbook has external links, and in recent versions it sits in the Queries & Connections group. The dialog lists each source file and its status.

Select a source in the list, then choose one of these:

  • Change Source points the link at the file’s new location. Formulas that use it update.
  • Open Source opens the file, so you can check it.
  • Update Values refreshes the values from the source file.
  • Break Link replaces every formula that uses that source with its current value. The formulas are gone, and the connection can’t be restored with a click. Use it only when you no longer need the live link.

Links can sit in places that aren’t ordinary cells:

  • Named ranges can refer to another file. Check Formulas > Name Manager. How names are created is covered in how to create named range in excel.
  • Charts can draw their data from another workbook.
  • Pivot tables can be built on a source in another file.

Prevent future breaks

  • Keep linked files in the same folder, or in a shared location that everyone who uses the workbook can reach.
  • Avoid moving or renaming a source file once other workbooks depend on it.
  • If you combine data from many files regularly, consider keeping the data in one workbook, or using a tool such as Power Query to bring it together.

Update links only to files you trust. A link can pull data from a file you didn’t create, so read the source list before accepting an update.

If the error is #REF! and you are not sure where it comes from, how to fix #ref error in excel covers the other causes of that message. For a link within the same workbook, see reference cell on another sheet in excel.

The complete guide to cell references

Cell References in Excel Explained
Read the guide

Keep exploring

Guides from other topics

All topics →