How to View Links in Excel: Find External References
In this article
To view links in Excel, the fastest method is to use the Edit Links tool located in the Data tab, which lists every external workbook your current file references. This allows you to see exactly which source files are providing data to your spreadsheet, whether those files are still accessible, and whether the data needs to be updated to reflect recent changes in the source documents.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- An Excel workbook that contains external references or hyperlinks.
- Access to the source files if you intend to update or change the link destinations.
Step-by-Step
- Open your Excel Workbook: Launch Microsoft Excel and open the specific file where you suspect external links exist. Ensure the file is not in "Protected View" (often indicated by a yellow bar at the top); if it is, click "Enable Editing" to access the Data menu tools.
- Navigate to the Data Tab: Look at the top ribbon menu. Click on the Data tab. Note that menu labels may differ slightly depending on your version of Excel, your operating system, or your regional language settings, but the "Data" section is standard across modern versions.
- Locate the Queries & Connections Group: Within the Data tab, look for a section labeled "Queries & Connections." In this group, you will find a button labeled Edit Links. If this button is greyed out, it means Excel does not detect any external workbook references in your current file.
- Open the Edit Links Dialog: Click the Edit Links button. A pop-up window will appear listing every single external source file that is linked to your current workbook. This list shows the file name and the status of the connection.
- Analyze the Link Source: In the Edit Links window, you can see the full file path of the linked document. This is the most reliable way to view where your data is coming from. If you see a file name you don't recognize, it may be a remnant of a deleted file or a link created by a colleague.
- Update the Link Values: If the source file has been modified, select the link from the list and click Update Values. Excel will reach out to the source file and pull the most recent data into your current sheet.
- Change the Link Source: If the source file has been moved to a different folder or renamed, select the link and click Change Source.... This opens a file browser window allowing you to navigate to the new location of the source file and re-establish the connection.
- Break the Link: If you no longer need the data to be dynamic and want to convert the linked formulas into static values, select the link and click Break Link. Warning: This action is permanent and cannot be undone using the Undo button; it converts the formula (e.g., = '[Budget.xlsx]Sheet1'!A1) into the actual value currently displayed in the cell.
- Search for Hyperlinks: If you are looking for clickable web links or internal document links rather than data references, use the Find tool. Press Ctrl + F (Windows) or Cmd + F (Mac), click "Options," and in the "Find what" box, search for "http" to find web addresses, or look for cells with blue underlined text.
Common Mistakes
One of the most frequent errors users make is breaking a link without first creating a backup of the workbook. Because breaking a link replaces a dynamic formula with a static value, you lose the ability to automatically update that data in the future. Always save a copy of your file before performing a bulk "Break Link" operation.
Another common mistake is ignoring the "Startup Prompt" for links. When you open a file with external references, Excel often asks if you want to "Update Links." Many users instinctively click "Don't Update," which can lead to reporting errors because the spreadsheet is displaying outdated information from the last time the file was saved, rather than the current reality of the source data.
Users also frequently confuse External References (data links) with Hyperlinks (clickable shortcuts). The Edit Links tool only manages data connections between workbooks. If you have a link to a website or a different section of the same sheet, the Edit Links menu will not show it. For those, you must manually inspect the cells or use the Find tool to locate the URLs.
Tips
To keep your workbooks organized, try to keep all linked files in a single shared folder. When you move a folder containing both the master file and its sources, Excel can often maintain the "relative path," meaning the links won't break even if the drive letter changes. If you scatter source files across different cloud drives and local folders, the likelihood of "Broken Link" errors increases significantly.
If you have a massive workbook and cannot find where a specific link is located within the sheets, use the Find and Replace feature. Press Ctrl + F, click "Options," and change the "Within" dropdown from "Sheet" to "Workbook." In the "Find what" box, type an open bracket [. Since all external workbook references start with a bracket containing the filename, this search will jump you directly to the cells containing external links.
Consider using "Named Ranges" for your external links. Instead of having a formula like ='[Sales_2023.xlsx]Sheet1'!$A$1:$B$50, you can name that range "AnnualSales." This makes your formulas much easier to read and manage, as you will see =AnnualSales instead of a complex file path.
Troubleshooting
The Edit Links button is greyed out: This happens if Excel believes there are no external references. However, if you are certain there are links, they might be hidden in "Defined Names" or "Conditional Formatting." Go to the Formulas tab and click Name Manager. Look through the list of names; if any refer to another workbook, that is your hidden link. Delete or update the name there to resolve the issue.
Excel displays a "#REF!" error after updating: This usually means the source cell, row, or column that the link was pointing to has been deleted in the source workbook. To fix this, you must open the source file, restore the deleted data, or go back to your master file and manually re-link the cell to a new, existing range in the source document.
The link won't update even after clicking Update Values: Check if the source file is currently open in another instance of Excel or if it is locked for editing by another user. If the source file is on a network drive, ensure you have a stable connection to that server. If the file is stored on OneDrive or SharePoint, ensure you are signed into the correct account with the necessary permissions to access that specific file.
Slow performance when opening the file: If your workbook has hundreds of external links, Excel may freeze while trying to verify them all at startup. To fix this, go to Data > Edit Links and click Startup Prompt. Select the option "Don't display the alert and don't update automatic links." This allows the file to open instantly, and you can manually update the links only when necessary.
Frequently Asked Questions
Can I see links to other sheets in the same workbook?
No, the Edit Links tool only shows references to external files. Links to other sheets within the same file are considered internal and are managed by simply editing the formula in the cell.
How do I find all hyperlinks in a sheet?
The most efficient way is to use the Find tool (Ctrl + F), click Options, and search for "http". Alternatively, you can use a VBA macro to list all hyperlinks, but for most users, the Find tool is sufficient.
What happens if I delete the source file?
The link will remain in your workbook, but it will become "broken." The data will stay as the last known value, but you will receive an error message whenever you try to update the links or open the file.
Is there a way to bulk-convert all links to values?
Yes, use the Edit Links dialog. Select all the sources listed in the window and click Break Link. This will convert every formula referencing those files into a static value across the entire workbook.
Can I link to a website using the Edit Links tool?
No. Edit Links is strictly for Excel-to-Excel data connections. Links to websites are hyperlinks and are managed by right-clicking the cell and selecting "Edit Hyperlink."
Why does Excel ask me to update links every time I open the file?
This is a security and accuracy feature. Excel wants to ensure you are aware that the data in your sheet may be different from the data in the source file. You can disable this prompt in the Edit Links > Startup Prompt settings.