All articles

KajoData / Excel

Find workbook links in Excel: formulas, names and charts

I trace external workbook dependencies from the links pane to the cells and objects using them, then explain how to choose a repair.

Kajo RudzińskiPublished Updated 6 min read

Linked filing cabinets and a magnifying glass revealing a cable

You open a report and Excel asks whether to update links to another file. The table looks ordinary. The source turns out to be a workbook that nobody has seen since the folder structure changed twice.

I start with two questions: where does the report get its values, and what uses those values? Then I choose a repair. This guide covers manually finding references to other workbooks in Excel for Windows, especially Microsoft 365. Command names and their locations can vary between versions and interface languages.

“Link” can mean several things. Here, I am looking for a formula reference to another workbook, such as a cell containing a budget figure. This is a synthetic example:

='C:\Reports\[Budget.xlsx]Plan'!$B$2

Budget.xlsx is the source file, Plan is the worksheet and $B$2 is the cell address. This is a calculation dependency: the report uses a value stored somewhere else.

A clickable hyperlink to a website or file primarily provides navigation. Queries and data connections form another category. When I see an address in a cell, I first check the formula bar and how the cell is used. Blue text alone does not tell me whether a sales total depends on it.

Microsoft covers references to other workbooks in its guide to creating workbook links. It discusses clickable links separately in Work with links in Excel. Distinguishing them helps me choose where to look.

In the current Microsoft 365 interface for Windows, I use Data > Queries and Connections > Workbook Links. Older interfaces may offer Edit Links instead.

The pane provides a starting point: the source workbook name. For a selected source, I can find the next occurrence or change the source. Microsoft describes the interface and available actions in Manage workbook links.

I note both the file name and its likely role. “Next year’s budget, used in the plan versus actual comparison” is more useful than “strange file to delete.” If the source moved, pointing to the correct copy might solve the problem. If the report is meant to be a standalone archive, another decision may be appropriate.

I do not automatically enable updates for an unknown source. I first establish where it came from and whether I can access it. Missing access to source data is a different problem from a broken formula inside the report.

Search formulas across the workbook

To search cells, I use the Find dialog:

  1. Press Ctrl+F and expand Options.
  2. Enter .xl in Find what.
  3. Set Within to Workbook, rather than a single sheet.
  4. Set Look in to Formulas.
  5. Select Find All and inspect the resulting addresses.

The .xl fragment helps locate common Excel file names, including .xlsx, .xlsm and .xls. It is a search clue, without a guarantee of finding every kind of dependency. If I know the source name from the pane, I also search for a distinctive part of that name.

Searching formulas matters. A cell may display 100 while its formula contains the full path to a budget workbook. Searching only displayed values may miss that path. Similarly, searching one worksheet can miss a dependency elsewhere in the workbook.

For each match, I check the column heading and how the result is used. I avoid replacing every occurrence with an arbitrary new address. Two source files can contain a sheet with the same name while storing entirely different data at the referenced cell.

Inspect defined names

A formula can use a defined name instead of displaying the source path directly. I open Formulas > Name Manager and inspect Refers To.

I look for external workbook names and paths. Sorting can make the list easier to review, but I still read what each name refers to. A name such as SalesPlan does not establish whether it points to this workbook or a file from a previous department.

Before deleting a name, I check its role. Formulas or charts may use it. Removing a dependency without understanding its consumers can break a part of the report that I am not currently viewing. I prefer fixing the reference first and comparing the result.

Cables from drawers and a chart converge on a connector being inspected

Check objects and charts separately

A reference may be attached to a text box or shape. In the active worksheet, I press Ctrl+G, then choose Special > Objects > OK. I use Tab to move through the selected objects and inspect the formula bar.

This step applies to the active worksheet. If several sheets contain objects, I repeat the review where needed. Inspecting the report’s cover sheet once does not cover the entire file.

Charts have additional places to inspect. I select a chart title and check the formula bar, then select its data series and examine their references. A chart copied from another workbook may retain a source that does not appear in the table beside it.

If the dependency remains unexplained, I revisit the distinction between source types. I inspect queries and connections, including query parameters. I do not treat a .xl search as a universal audit of every possible data import mechanism.

Repairing the path makes sense when the report should continue reading another file. In the links pane, I change the source to the correct workbook. Then I check whether the referenced worksheets and ranges still mean what the report expects.

For a synthetic example, an old report reads from Budget.xlsx, while the relocated file is now called Approved-budget.xlsx. Changing the file name and location may be enough if the structure remains compatible. If the new file has a different layout, the references themselves also need attention.

Breaking a workbook link converts formulas using that link into their current values. Microsoft warns that breaking a link cannot be undone. Before doing it, I save a separate working copy and establish which values should be preserved.

The disappearance of the opening warning does not prove that the report is current. A quiet, self-contained workbook can still contain outdated figures. I compare key totals, the reporting period and the source assumptions. Breaking the dependency determines future updates as well as removing a message.

Finish the review

I save the working file, reopen it and revisit the links pane. I check the changed locations and whether any remaining warning matches the dependencies that should remain. I go beyond the first worksheet that happens to look correct.

For handover, I leave a short explanation of the remaining sources, their locations and who maintains them. If values were frozen, I record their period and the date of that decision. The next person should not need to guess why the sales plan stopped refreshing.

As an exercise, create two empty workbooks with a made-up amount, link one cell and locate it using these methods. Then add a defined name referring to the source and see how it affects the review. A few cells are enough to understand the dependency. For the broader preparation of report inputs, see my data cleaning guide.

Key takeaways

Will a .xl search find every external dependency?

No. Inspect formulas, defined names, objects and charts, and distinguish workbook links from queries and connections.

What happens when I break a workbook link?

Formulas using that link become their current values. Microsoft warns the action cannot be undone, so save a working copy first.

Is a hyperlink the same as a workbook reference?

A hyperlink provides navigation. A workbook formula reference supplies values used in calculations.

AI was used in an automated way while working on this article. If you want to learn how to do it too, check out this project.

Kajo Rudziński

Newsletter KajoData

Let’s keep in touch.

I write about data analysis, learning and changing careers. My newsletter and the sign-up form are in Polish. If that works for you, I’d be glad to see you there.