Excel Quantity Link Not Working: Fix Broken Cell References
In this article
If your Excel quantity link isn’t working, it means a formula referencing another cell or workbook isn’t updating or returning the expected value. This usually happens due to broken references, incorrect file paths, disabled calculations, or mismatched formats. The fix is almost always found in checking reference integrity, calculation settings, or file accessibility — no add-ins or third-party tools are needed.
What You'll Need
- Microsoft Excel (2010 or later)
- Access to both the source and destination files (if linking across workbooks)
- Permission to read the source file (if stored on a network or cloud drive)
Step-by-Step
- Open both the source workbook (containing the quantity data) and the destination workbook (containing the broken link). Keep both files open during troubleshooting.
- Click the cell with the broken link and look at the formula bar. If you see #REF!, #VALUE!, or a file path like [Book2.xlsx]Sheet1!$A$1, the link is broken or pointing to a missing location.
- If the source file was moved or renamed, locate the correct file. Right-click the cell with the error, choose Edit Link from the context menu (if available), or go to Data > Edit Links (in the Connections group on the Data tab).
- In the Edit Links dialog box, find the broken source file listed under Source File. Click Change Source, then browse to the correct file location and select it. Click OK. Excel will update all links to that file.
- If the source file is closed, ensure it’s saved in a stable location (not a temporary folder or USB drive that may be disconnected). Avoid linking to files stored on cloud services like OneDrive or Dropbox unless they are fully synced and the file name has no special characters or spaces.
- Check that the referenced cell in the source workbook actually contains a numeric value. If it’s text (e.g., "100" instead of 100), Excel won’t calculate it in a mathematical formula.
- Verify Excel’s calculation mode. Go to Formulas > Calculation Options and ensure it’s set to Automatic. If it’s set to Manual, formulas won’t recalculate after changes. Press F9 to force a recalculation if needed.
- If linking between workbooks, save both files in the same folder. Use relative paths where possible. Avoid using network paths like \\Server\Folder\file.xlsx unless you’re certain the path is accessible and stable. Use a mapped drive letter (e.g., Z:\Folder\file.xlsx) if on a corporate network.
- Test the link by changing a value in the source cell. The destination cell should update automatically. If not, press Ctrl+Alt+F9 to force a full recalculation of all open workbooks.
- If the link still fails, copy the source value, paste it as a value (not formula) into the destination, then re-enter the formula from scratch using point-and-click: click the source cell while editing the destination formula — this ensures correct syntax.
Common Mistakes
- Assuming Excel will automatically find a moved file — it won’t. File paths are hardcoded in links.
- Using file names with spaces, symbols, or non-English characters (e.g., "Sales Q1-2024.xlsx"), which can break external links. Rename files to use only letters, numbers, and underscores.
- Not saving both files before testing the link. Excel may not resolve links if either file is unsaved.
- Linking to a cell that’s hidden or on a protected sheet without allowing cell selection. Unprotect the sheet or enable "Select unlocked cells" in the protection settings.
- Using a formula like =A1+B1 when B1 references another workbook, but forgetting to include the workbook name and sheet name. Always use [Workbook.xlsx]Sheet1!$A$1 format.
- Copying and pasting formulas without adjusting references, especially when pasting across workbooks. The pasted formula may still point to the original source, not the new one.
Tips
- Use named ranges to simplify links. Define a name like "TotalQuantity" in the source workbook, then reference it in the destination as =TotalQuantity. This avoids hardcoding cell addresses.
- Store frequently linked files in a dedicated folder (e.g., C:\Excel\LinkedData\) and keep them there permanently.
- Use the Evaluate Formula tool (Formulas > Evaluate Formula) to step through a complex link and see where it fails.
- For team environments, use SharePoint or OneDrive for Business with consistent file naming and permissions. Avoid personal OneDrive folders for shared links.
- When sharing workbooks with external users, embed the data instead of linking. Use Copy > Paste Special > Values to convert links into static numbers if the link isn’t critical.
- Regularly check for broken links: go to Data > Edit Links > Status. Excel will list any "Broken" or "Unknown" sources.
Troubleshooting
If the link still doesn’t work after following the steps above:
- Restart Excel. Sometimes the application’s internal link cache becomes corrupted. Close all workbooks, exit Excel completely, then reopen.
- Open the destination workbook while holding down the Shift key. This prevents external links from loading automatically. Then manually re-establish the link using Data > Edit Links.
- Check if the source file is open in another program (e.g., Excel Online, mobile app, or another desktop instance). Only one process can maintain a live link at a time.
- Temporarily disable Excel’s Protected View. Go to File > Options > Trust Center > Trust Center Settings > Protected View, and uncheck "Enable Protected View for files originating from the internet." Restart Excel and test again.
- Copy the entire source data into a new workbook, save it with a simple name like "SourceData.xlsx", and re-link. This eliminates hidden corruption in the original file.
- If using a network drive, map it to a drive letter. Avoid linking directly to UNC paths (\\server\folder\file.xlsx) — they’re less reliable.
- If none of the above works, create a new destination file and rebuild the formula from scratch using point-and-click to reference the source cell. This often resolves silent corruption.
Frequently Asked Questions
Why does my Excel link show #REF!?
#REF! means the cell reference is invalid — usually because the source cell was deleted, the source file was moved, or the link was corrupted. Use Edit Links to update the source path.
Can I link Excel files stored in OneDrive?
Yes, but only if the files are fully synced to your local device and opened from the synced folder. Links to files opened directly via the OneDrive website may fail.
Why doesn’t my formula update when I change the source value?
Check Calculation Options under the Formulas tab. If set to Manual, press F9 to recalculate. Also ensure the source cell isn’t formatted as text.
Do I need to keep both workbooks open for the link to work?
No, but the source file must be accessible at its saved location. If it’s closed or moved, Excel will show an error until you update the link.
Can I link to a cell in a closed workbook?
Yes, but only if the workbook is saved in a stable location. Excel will retrieve the value when you open the destination file — as long as the path hasn’t changed.
What’s the safest way to avoid broken links in the future?
Use named ranges, store linked files in one dedicated folder, avoid special characters in file names, and always save both files before closing. Regularly check Data > Edit Links for status.