Excel Updating Links Guide
In this article
Excel automatically updates linked cells when the source file changes, but this feature can be turned off or cause errors. To fix this, open the Excel Options menu, go to Data, and check the "Ask to update automatic links" box. If links are missing, use the "Edit Links" button to refresh or replace the source file path.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS versions work differently).
- Access to the original source file containing the data you want to link to.
- The two Excel files open at the same time to test the link functionality.
Step-by-Step
- Open the Destination File. Launch Microsoft Excel and open the workbook where you want the external data to appear. This is the file that will automatically update with new information.
- Locate the Cell with the Link. Find the specific cell on the spreadsheet that displays the data from the external source. If the link is not currently visible, you may need to insert a new link using the steps below.
- Open the Edit Links Menu. Navigate to the Data tab on the Excel ribbon. In the Connections group, click the Edit Links button. This dialog box lists all the external files currently connected to your workbook.
- Identify the Problematic Link. In the list provided, locate the entry for the file that is not updating correctly. You will see the status of the link next to it, which might read "Status: OK" or "Status: Source not found."
- Update the Link. Click on the selected link in the list to highlight it, then press the Update Values button at the top left of the dialog box. Excel will attempt to refresh the data from the original source file immediately.
- Change the Source File. If the original file has been moved, renamed, or deleted, the "Status" will likely show as "Source not found." Click on the broken link, then press the Change Source button. A file browser window will open. Navigate to the new location of the file and select it. Click OK to confirm the new path.
- Check Automatic Update Settings. If you want Excel to prompt you before updating links every time you open the file, click the Startup Prompt button in the Edit Links dialog. Choose the option "Ask to update automatic links" and click OK. This prevents sudden changes from disrupting your work without your permission.
- Verify the Update. Go back to your spreadsheet and check the linked cell. The data should now reflect the latest information from the source file. If the data did not change, try closing and reopening the destination file to trigger the update process.
Common Mistakes
One frequent issue arises when users edit the formulas directly in the cell. Instead of typing the file path manually, always use the Insert > Links function or the Edit Links dialog. Typing the path manually often leads to syntax errors or broken links if the file name contains spaces or special characters.
Another mistake is assuming that a link will update if both files are open. While Excel updates linked data when the source file is open and the destination file is active, it is not always guaranteed. Sometimes, the destination file must be closed and reopened, or the entire Excel application needs to be restarted for the link to refresh correctly.
Tips
To ensure your links remain robust, keep the source and destination files in the same folder or network drive. If you must move files, use the Change Source option in the Edit Links dialog rather than moving the physical files yourself. This ensures the internal reference is updated alongside the file location.
When sharing a workbook with links, remember that the receiving user must have access to the location of the source file. If the link points to a file on your personal desktop, the recipient will see a broken link error unless they have access to that specific folder on your computer.
Troubleshooting
If the links are not updating, first check that you are running the latest version of Excel. Outdated software can sometimes fail to recognize the file formats or connection protocols of newer source files.
If the status in the Edit Links dialog reads "Status: Read Only," it means the source file is currently open in another program and cannot be modified. You must close the source file in the other program before Excel can update the link values.
If the data appears as a series of hash marks (#######), it usually means the column width is too narrow to display the full value. Double-click the column border to auto-fit the width and reveal the data.
For persistent errors, try deleting the link and recreating it from scratch. Select the linked cells, press Ctrl + X to cut, and then use Paste Special > Paste Link to create a fresh connection to the data source.
Frequently Asked Questions
How do I stop Excel from asking me to update links every time I open the file?
Go to the Data tab, click Edit Links, and then click Startup Prompt. Select the option that says "Don't display this alert again” and choose whether to update or not. Click OK.
Why do my linked cells show the old data even after the source file has changed?
This usually happens because the destination file was saved before the source file was updated. You must go to the source file, save your changes, and then open the destination file and click Update Values in the Edit Links dialog.
Can I link to data in a different Excel file on a different computer?
Yes, but both computers must be connected to the same network, and the user opening the destination file must have permission to access the folder containing the source file on the other computer.
Does the link work if I save the destination file to a PDF?
No, Excel links do not function in PDF files. You must save the file as an Excel Workbook (.xlsx) to preserve the connection to the external source.
What does the #REF! error mean in a linked cell?
The #REF! error indicates that the link is broken. This typically happens if the destination file refers to a cell that no longer exists in the source file, or if the source file has been deleted or moved.
How do I break a link so the data becomes static?
Open the destination file, go to the Data tab, and click Edit Links. Select the link and click Break Link. This will paste the current data as a permanent value and remove the connection.