Excel links between spreadsheets stop working due to file corruption, incorrect reference formats, or settings misconfigurations. The simplest fix is to manually update the formula reference to match the target sheet’s name and path. If that fails, check for circular references, reload the data source, or restart Excel to clear temporary glitches.
What You'll Need
- Two or more Excel workbooks (`.xlsx`) open in Excel 2016 or later.
- The source and target worksheets where formulas are linked.
- Admin rights to reset Excel settings if needed.
- A stable internet connection if linking to cloud services (e.g., OneDrive).
- A backup of the source spreadsheet (optional but recommended).
Step-by-Step
- Check the formula reference manually.
Open the source spreadsheet. Look for formulas referencing the target sheet (e.g., `=Sheet2!A1`). If the reference is outdated (e.g., `=Sheet1!A1` or missing a sheet name), update it directly:
- Select the cell with the formula.
- Press F2 to edit the formula.
- Verify the sheet name and range (e.g., `=Sheet3!B2:D10`). Adjust if incorrect.
- Press Enter to apply.
- Ensure the target sheet exists.
Close and reopen the target spreadsheet. Verify the sheet name appears in the sheet tabs at the bottom. If missing, add it:
- Right-click the sheet tab where the link fails.
- Select Insert from the context menu.
- Name the sheet (e.g., "Sales Data") and confirm.
- Check for circular references.
Circular references (e.g., A1 linking to B1, which links back to A1) cause Excel to freeze or ignore links. Resolve them by:
- Highlight the formula range (e.g., A1:D10).
- Press Ctrl + Alt + F8 to open the Name Manager.
- Select the linked formula, then click Delete.
- Replace with a direct reference or break the loop by adjusting ranges.
- Refresh the data source manually.
If linking to an external file (e.g., `.csv` or `.xlsx` on a network drive), add a refresh button to formulas:
- Select the formula (e.g., `=Data_Table!A1`).
- Right-click and choose Format Cells.
- Go to the Protection tab.
- Uncheck Lock cells and Hide formula.
- Press F9 to refresh the link.
- Restart Excel. Close and reopen Excel. This clears temporary cache that might corrupt linked data. If using Excel Online, sign out and back in.
- Check file integrity.
If the link fails intermittently, the source file might be corrupted. Save as a new file:
- Open the source spreadsheet.
- Go to File > Save As.
- Choose a new name and location, then click Save. This creates a fresh copy.
- Update Excel or OS. Open Excel’s Help > About Excel to check for updates. Older versions (pre-2016) lack robust link handling. Upgrade via Microsoft’s website.
- Reconnect manually (for external links).
If linking to a database or web query, reconfigure the connection:
- Select the failed formula.
- Press F11 to open the Data Model (if applicable).
- Right-click the data source, then Edit Data Connection.
- Verify credentials and permissions, then save.
Common Mistakes
- Forgetting to lock/unlock cells. If cells containing formulas are locked, Excel ignores external references. Always edit formulas with cells unlocked.
- Using wrong sheet names. Excel links by sheet name (e.g., `Sheet2`), not names in the spreadsheet title bar. Double-check for typos or auto-filled errors.
- Circular dependencies. If Sheet A references Sheet B, which references Sheet A, Excel treats it as invalid. Delete or restructure such loops.
- Antivirus interference. Some security software blocks Excel from accessing external files. Temporarily disable the scanner to test.
- Outdated file paths. On network drives, path references (e.g., `\\server\folder`) must match exactly. Use absolute paths (e.g., `C:\Data\Sheet2`) for reliability.
Tips
- Use absolute references (e.g., `=Sheet2!A1`) when sharing formulas to avoid errors if sheet names change.
- For large datasets, break links into smaller chunks to reduce processing time.
- Freeze panel views (View > Freeze Panes) to prevent accidental scrolling that might disrupt references.
- Enable "Enable All Content" in Excel’s security settings (File > Options > Trust Center > Trust Center Settings > Macro Settings) if links rely on VBA macros.
- Test links in a fresh workbook first to isolate the issue.
- Enable Excel’s "Show Formula" view (Ctrl + ~) to visually inspect formula syntax.
Troubleshooting
If none of the above works, try these advanced steps:
- Clear Excel’s temporary files. Go to File > Options > Advanced, scroll to Clear File History, and click Clear. Restart Excel.
- Disable add-ins. Go to File > Options > Add-ins, uncheck all add-ins, then restart Excel. Re-enable one by one to identify the culprit.
- Repair Excel’s installation. On Windows, run Control Panel > Programs > Apps & Features > Microsoft Office > Change > Quick Repair. This fixes corrupted files without deleting settings.
- Use a different reference format. If formulas fail with `sheet!range`, try `=Sheet2[Table1]` (for Excel 365/2021) or `[Table1]@1` (for Power Query links).
- Check for Excel version compatibility. Older formulas (pre-2016) may not work in Excel 2021. Convert references manually or use a workbook that all users share.
- Test with a clean spreadsheet. Create a new workbook, manually copy-paste the linked formulas, and restart Excel. If they work, the original file is corrupted.
Frequently Asked Questions
Why do my Excel links break at night?
Links often fail during offline periods (e.g., when saving to a network drive) or after long sessions. Check if the target file was updated externally and refresh the link manually (F9) or reconnect it using the steps above.
How do I link to a Google Sheet from Excel?
Excel cannot natively link to Google Sheets. Use Power Query instead:
- Open Power Query in Excel (Data > Get Data > From File > From Web).
- Enter the Google Sheet URL and authenticate.
- Load the data as a table, then refresh it regularly.
What if I get a "#REF!" error?
The most common cause is a typo in the sheet name or range. Verify the reference matches the target exactly. For example, `=Sheet2!A1` should be `=Sheet2!A1` (no spaces). If the error persists, delete the formula and rebuild it.
Can I link to a folder instead of a single sheet?
No. Excel links only to individual worksheets within a workbook. For folder-based data, use Power Query to import multiple sheets as a single table or merge them in a new workbook.
Why do links work in one workbook but not another?
Variations include:
- Different Excel versions (e.g., 2016 vs. 2021).
- Sheet names changed between files.
- External file permissions (e.g., locked by another user).
- Corrupted file structures (e.g., missing sheets).
How do I protect against losing links when saving?
Always:
- Save backups before editing shared files.
- Use absolute references (e.g., `=Sheet2!A1`).
- Enable Version Control in Excel (File > Info > Manage Version).