Excel cannot link to another workbook when the external file is closed, moved, renamed, or when the link path breaks—but the most common reason is that Excel stores absolute file paths, and any change to the file's location or name severs the connection. You can still create links between workbooks, but the link only works when both files are accessible and the path is correct. This guide explains the exact causes, how to fix broken links, and how to avoid them.
What You'll Need
- Both Excel workbooks (the source and the destination) saved on your computer or network drive.
- File Explorer (Windows) or Finder (Mac) to check file paths.
- Excel 2016 or later for most features; older versions work too but some menu labels differ.
Step-by-Step
- Check if the source workbook is open. If you are trying to link to a workbook that is currently open, Excel can usually create the link. If the source is closed, Excel still allows the link, but it will show the full path. If the file is not saved yet, Excel cannot create a stable link—save both files first.
- Verify the file path. In the destination workbook, go to the cell where you want the link. Type = and then navigate to the source workbook's cell. Excel inserts a formula like . The path in the formula is absolute—it includes the full folder path. If the source file is moved, that path becomes invalid.
- Check for file name changes. If you renamed the source workbook after creating the link, Excel cannot find it. The link stores the old name. You must update the link manually.
- Look for circular references. If the source workbook contains a formula that refers back to the destination workbook, Excel may refuse to calculate and show a circular reference warning. This can make it appear that linking is impossible.
- Check if the link is blocked by security settings. Excel's Trust Center may block external links if the file is from the internet or if macros are disabled. Go to File > Options > Trust Center > Trust Center Settings > External Content. Ensure that "Enable all Workbook Links" is selected (or at least "Enable automatic update for Workbook Links").
- Use the Edit Links dialog. In the destination workbook, go to the Data tab and click Edit Links. This shows all external links. If a link shows "Error" or the source is not found, click Change Source to browse to the correct file.
- Break the link if you no longer need it. In the Edit Links dialog, select the link and click Break Links. This converts the linked cells to their current values, removing the dependency.
Common Mistakes
- Moving or renaming the source file. This is the number one cause of broken links. Always keep the source file in the same location, or update the link after moving.
- Using relative paths incorrectly. Excel uses absolute paths by default. If you copy the destination workbook to another folder, the link still points to the original source location. You must either keep the folder structure identical or update the link.
- Typing the link manually. Typing a formula like
=Sheet2!A1without the square brackets and file name creates a reference to a local sheet, not an external workbook. Always use the mouse to select the cell in the other workbook. - Forgetting to save the source file. If the source is unsaved, Excel may create a link to a temporary file that disappears when you close it.
- Linking to a closed workbook on a network drive. If the network drive is not mapped or the path is long, Excel may fail. Use a mapped drive letter or a UNC path (like \server\folder\file.xlsx) consistently.
Tips
- Keep both files in the same folder. If you place the source and destination in the same folder, Excel still uses absolute paths, but it is easier to manage. If you move the whole folder, the link breaks because the absolute path changes. To make links portable, use the "Update Links" prompt when opening the destination—Excel will ask if you want to update links to the new location.
- Use a consistent naming convention. Avoid spaces and special characters in file names. Spaces are allowed but can cause issues with some formulas and when copying between systems.
- Check the formula bar. After creating a link, click the cell and look at the formula bar. It should show the full path in square brackets. If it shows only a sheet name, the link is not external.
- Test the link after any file operation. After moving or renaming, open the destination and go to Data > Edit Links. If the status is "OK", the link works. If it says "Error" or "Not found", update the source.
- Use a named range in the source workbook. Instead of linking to a cell like Sheet1!A1 , define a named range (e.g., SalesTotal ) in the source workbook. Then link to . This makes the link more readable and less prone to breakage if you insert rows.
Troubleshooting
If your link is not working, follow these steps in order:
- Check if the source file exists. Open File Explorer and navigate to the path shown in the Edit Links dialog. If the file is not there, you need to find it or recreate the link.
- Check if the source file is open. If the source is open, Excel can update the link. If it is closed, Excel uses the cached value from the last time the source was saved. That is normal.
- Check the Trust Center settings. Go to File > Options > Trust Center > Trust Center Settings > External Content. Make sure "Enable automatic update for Workbook Links" is checked. If not, Excel will not update the link unless you manually click Update.
- Look for a "This link is not available" message. This appears when the source file is missing or the path is wrong. Click Edit Links > Change Source and browse to the correct file.
- Check if the link is to a closed workbook with a password. If the source workbook is password-protected, Excel may not be able to open it automatically. You will need to open the source manually and enter the password, then the link will update.
- If the link shows a value but does not update when the source changes, go to Formulas > Calculation Options and ensure it is set to Automatic. If it is Manual, press F9 to recalculate.
- If you get a "Cannot open linked file" error, the file might be corrupted or the path contains invalid characters. Try copying the source file to a new location and updating the link.
- If nothing works, break the link and re-create it. This is the last resort. Break the link, then re-enter the formula by selecting the cell in the source workbook.
Frequently Asked Questions
Why does Excel show a warning about links every time I open the workbook?
Excel prompts you to update links because the workbook contains external references. You can choose to update or not. To disable the prompt, go to File > Options > Advanced > General, and uncheck "Ask to update automatic links".
Can I link to a workbook that is stored in the cloud (OneDrive or SharePoint)?
Yes, but the link path must be the local synced folder path (e.g., C:\Users\YourName\OneDrive\Folder\Source.xlsx). If you open the file directly from the web browser, Excel may not resolve the link. Use the desktop app and sync the folder.
What happens if I delete the source workbook?
The link becomes broken. Excel will show an error and the cell will display the last known value or #REF!. You must update the link to a new source or break the link.
Why does my link work on my computer but not on my colleague's computer?
Because the file paths are different. If you use a local path like C:\Users\You\... your colleague does not have that path. Use a shared network drive or a UNC path that everyone can access.
Can I link to a specific cell in another workbook without opening it?
Yes, you can type the formula manually if you know the exact path and cell reference. For example: . But it is safer to open the source and select the cell.
Is there a limit to how many links I can have in a workbook?
Excel does not have a documented limit on the number of links, but performance may degrade with hundreds of links. Also, each link increases file size and recalculation time.