Excel's Find and Replace cannot search for links by themselves, but you can locate every external reference quickly through a handful of built-in tools and then remove them safely. The fastest approach is to open Find and Replace (Ctrl+H on Windows, Command+Shift+H on Mac) and search for the path fragment that starts every external link, typically [, .xls, or the server name, then delete the matches. For formulas, use Find All with Look in: Formulas, and for embedded link objects use Excel's built-in link checker. Doing this matters because external links cause the annoying "This workbook contains one or more links that cannot be updated" prompt on every open, break when the source file moves, can point at files on retired network drives, and can slow recalculation.
What You'll Need
- Microsoft Excel for Windows or Mac (the desktop app; the browser version has much less link-handling ability).
- The workbook open, ideally a saved copy so you can roll back if a removal is wrong.
- Permission to edit the file, and knowledge of whether the links are intentional (for example a deliberate roll-up workbook) before you delete anything.
- Optional: a password if the workbook's structure is protected.
Step-by-Step
- Save a backup first. Use File > Save As and keep a copy under a different name. Removing links cannot always be undone with Ctrl+Z, especially once you have closed the workbook, and broken formulas may not display an error until recalculation.
- Check what Excel already knows about. Go to Data > Edit Links (called Edit Links on current Windows versions; on Mac it sits under Data as well, and on older versions under the Microsoft Office button). A dialog lists every external source the workbook references, with the source file and, for some entries, the type. Labels and placement can differ slightly by version, device and region. If the list is empty, the workbook's remaining "links" are plain text URLs or hyperlinks, not external references, and you can skip to step 6.
- Count the formulas before deleting. In the Edit Links dialog, select a source and choose Check Status to see whether it resolves. Note which worksheets or cells are involved by looking at the affected formulas. If a source is a deliberate feed, write down its path so you can recreate it later.
- Find external references in formulas. Press Ctrl+H (Command+Shift+H on Mac), click Options and set Look in to Formulas, then search for
[. External references look like='C:\Reports\[Budget.xlsx]Sheet1'!A1, so the bracket pair is a reliable marker. Use Find All rather than Replace All first, so you see every hit in the results pane and can judge the scope. Repeat with.xlsand with the server or folder name if brackets return nothing. - Fix at the source rather than replacing blindly. Replacing
[with nothing leaves invalid formula text. Instead, either type the corrected formula over the top, or use Replace All only when the substitution yields a valid formula, for example replacing'C:\Reports\[Budget.xlsx]Sheet1'!A1withA1if you want the value pasted as a literal. When the external workbook exists and you just want the values frozen, copy the affected range, then Edit > Paste Special > Values over it, which severs the dependency. - Remove hyperlink objects. To delete clickable URL hyperlinks across a range, select the cells, right-click and choose Remove Hyperlink (the menu wording is Remove Hyperlink or Remove Hyperlinks depending on version). For a whole sheet, press Ctrl+A in the used range first. A link stored only as text (an address with no hyperlink formatting) has to be deleted or overwritten manually, since it is not a link object.
- Break links through the dialog if you want them gone wholesale. In Data > Edit Links, select each source and choose Break Link. Excel asks you to confirm and warns that formulas using the source will be converted to their current values. That warning is accurate: the cell keeps the last calculated number and loses the formula. Do this only for sources you are sure you no longer need.
- Clear stubborn remnants. After removing formulas, some workbooks still prompt about links because of defined names, chart series, conditional formatting rules, data validation lists, or PivotTable sources pointing outside the file. Check Formulas > Name Manager for names whose Refers to box contains a full path, edit those names to point at local ranges, and re-check chart data ranges by right-clicking a series and choosing Select Data. Delete unused conditional formatting rules and data validation that refer outside the workbook.
- Save, close and reopen the workbook. The definitive test is the reopen: if the "links cannot be updated" prompt no longer appears, the external references are gone. If it does appear, click Don't Update while you investigate so stale values are not pulled in, then repeat the search in step 4 across all sheets, including hidden ones.
- Verify the content still makes sense. Spot-check totals and any cell that previously depended on the external file. If a cell now shows
#REF!, the reference broke in a way that needs repairing rather than removing.
Common Mistakes
- Using Replace All on
[everywhere. That can corrupt array constants and text containing brackets. Select a specific range and look at the Find All results before replacing. - Breaking links before checking what they feed. Break Link permanently converts formulas to static values; the formula is gone even if you later restore the source file.
- Hunting only in visible cells. External references hide in hidden sheets, very hidden sheets, and distant rows. Run the search on the whole workbook, not the current selection.
- Confusing hyperlinks with external links. A cell with a clickable web address is a hyperlink object; a formula that reads another workbook is an external reference. Each needs a different fix.
- Ignoring charts and named ranges. Many "ghost" link prompts come from chart series or defined names, not from cells.
- Editing the original file instead of a copy. Without a backup, a bad Replace All can be unrecoverable after saving.
Tips
- Before you delete anything, use Ctrl+` (the key left of 1) to show all formulas on the sheet, which makes external paths easy to spot at a glance.
- Copy the source path from the Edit Links dialog before breaking a link, so you can reconstruct the connection later if needed.
- If you regularly receive linked workbooks from others, paste incoming data as Values into your own file to prevent links forming in the first place.
- Save as .xlsx after cleanup; older formats can carry link definitions in ways that are harder to clear.
- Work through one worksheet at a time and save between sheets, so a mistake is easy to isolate.
Troubleshooting
The prompt returns after reopening. A link still exists somewhere Excel does not show in Edit Links. Open Formulas > Name Manager and scan the Refers to column for full drive or server paths. Then check chart data ranges and any PivotTable whose source is an external workbook.
Break Link is greyed out. The workbook's structure may be protected, or the source may be unavailable. Unprotect the sheet or workbook (you will need the password; without it, ask the file's owner), then retry.
Cells show #REF! after cleanup. The formula you removed was supplying data. Undo immediately if you have not saved, or restore the backup and fix only the specific references that are actually stale.
Find and Replace finds nothing but the prompt persists. The reference may be built dynamically with functions such as INDIRECT or a name that concatenates a path. Search for INDIRECT and inspect those formulas directly.
Edit Links is missing entirely. The Excel web app does not offer the full Edit Links workflow. Open the file in the desktop app, where the Data tab includes it.
You cannot find the source file. Choose Don't Update at the prompt, then break the link if you no longer need it, or use Paste Special > Values to freeze the last known numbers.
Frequently Asked Questions
Can Excel find all external links at once?
Not with a single command. Data > Edit Links lists the sources, while Find and Replace with Look in: Formulas locates the cells. Use both together for full coverage.
What is the difference between an external link and a hyperlink?
An external link is a formula pointing to another workbook. A hyperlink is a clickable jump to a URL, file or cell. Removing one does not remove the other.
Does breaking a link delete the data?
No. It replaces the formula with the value Excel last calculated, so the number stays but the connection is gone.
Can I remove links from a protected workbook?
Only after unprotecting it. Breaking links requires editing the workbook structure, which protection blocks.
Will deleting a row remove the link that row contained?
Yes, if that row's formula was the only reference to that source. Check Edit Links again after deleting rows to confirm.
Do links in hidden sheets cause the update prompt?
Yes. Excel checks the whole workbook, so a link in a hidden or very hidden sheet still triggers the prompt.