Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Formulas Not Working Across Workbooks? Fix It

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Excel formulas that reference another workbook usually stop working for one of three reasons: the source file is closed, the link is broken or disabled, or the path has changed. The fix is to either open both workbooks while the formula recalculates, repair the external link through Excel's Edit Links dialog, or replace the external reference with a direct cell reference or a lookup formula. This guide walks through each cause and the exact steps to restore the link.

What You'll Need

  • Both the source workbook (the one containing the data) and the destination workbook (the one with the formula) saved on a local drive or a synced cloud folder.
  • Excel desktop app (Windows or Mac). Excel for the web has limited support for external workbook references.
  • Permission to edit both files, and the same Microsoft account or network access for shared locations.
  • The exact file path or name of the source workbook, in case you need to re-point the link.

Step-by-Step

  1. Open both workbooks at the same time. External references only recalculate live when the source workbook is open in the same Excel instance. Open the source file first, then the destination file. If the formula now shows the correct value, the link itself is fine and the problem is that the source was closed or moved.
  2. Check for the security warning bar. When you open a workbook with external links, Excel may show a yellow bar saying links are disabled. Click Enable Content or Enable Links (the wording varies by version). If you dismissed it, close and reopen the file to bring it back.
  3. Open the Edit Links dialog. Go to the Data tab and click Edit Links (on Mac, it may be under Data > Edit Links or Workbook Links). This lists every external workbook your file references, its status (OK, Error, or Unknown), and the item count.
  4. Update the values. In the Edit Links dialog, select the source workbook and click Update Values. If Excel prompts you to locate the file, browse to its current location and select it. This re-establishes the path and refreshes cached values.
  5. Change the source if the file moved. If the source workbook was renamed or moved, click Change Source in the same dialog and browse to the new location. All formulas pointing to that workbook update automatically.
  6. Break and rebuild a broken link. If the link shows an error and cannot be repaired, select it and click Break Link. This converts the external references to their last cached values (static numbers). You then re-enter the formula with the correct path. Note: breaking a link is permanent for that reference, so save a copy first.
  7. Verify the formula syntax. Click the cell with the formula and look at the formula bar. A healthy external reference looks like =[Budget.xlsx]Sheet1!$A$1. If the workbook name contains spaces, it must be enclosed in single quotes: ='[Annual Budget.xlsx]Sheet1'!$A$1. Missing quotes are a common cause of #REF! errors.
  8. Force a full recalculation. Press Ctrl+Alt+F9 (Windows) or Cmd+Option+F9 (Mac) to recalculate all formulas in all open workbooks. This clears stale cached values that can make a working link appear broken.
  9. Check the calculation mode. Go to Formulas > Calculation Options and confirm Automatic is selected. If it is set to Manual, formulas will not update until you press F9, which looks like a broken link.
  10. Save and reopen both files. Save the destination workbook, close both files, then reopen the destination. Excel will prompt to update links; choose Update. If the values appear, the link is now stored correctly.

Common Mistakes

  • Leaving the source workbook closed. Excel caches the last known value, so a closed source can show old data or a #REF! error. Open both files when you need live values.
  • Renaming or moving the source file without updating the link. Always use Edit Links > Change Source after moving a file, rather than editing the formula manually.
  • Forgetting quotes around workbook names with spaces. =[My File.xlsx]Sheet1!A1 fails; ='[My File.xlsx]Sheet1'!A1 works.
  • Breaking links by accident. Clicking Break Link replaces formulas with static values; there is no undo after saving. Make a backup first.
  • Using Excel for the web for cross-workbook formulas. The browser version has limited support for external references and may show errors that the desktop app does not.
  • Storing the source on a different drive letter or cloud path. If the path changes (for example, a mapped network drive disconnects), the link breaks. Use a consistent local or synced folder.

Tips

  • Keep both workbooks in the same folder to make relative paths simpler and less likely to break.
  • Use named ranges in the source workbook; they survive minor sheet renames better than direct cell references.
  • Prefer XLOOKUP or INDEX/MATCH with the source open, or import the data with Data > Get Data (Power Query) for a more stable connection than a live external link.
  • Test links after saving by closing the source and reopening the destination; if Excel prompts to update, the link is registered correctly.
  • If you share the file, note that recipients need access to the source workbook at the same path, or the links will show errors on their machine.

Troubleshooting

If the formula still shows #REF! after updating links, the referenced sheet or cell may have been deleted. Check the source workbook for the sheet name and cell address in the formula. If the error is #VALUE!, the source cell may contain text where a number is expected. If the Edit Links dialog is empty but the formula still references another file, the link may be embedded in a defined name or chart series; check Formulas > Name Manager. If Excel prompts to update links every time you open the file even after updating, the source path may be on a disconnected network drive; reconnect the drive or move both files to a local folder. As a last resort, copy the source data into a new sheet in the destination workbook and rewrite the formula as an internal reference, which removes the external dependency entirely.

Frequently Asked Questions

Why does my formula show a file path instead of a value?

Excel is displaying the external reference because the source workbook is closed or the link is broken. Open the source file or use Edit Links > Update Values.

Can I use external references in Excel for the web?

Support is limited. Cross-workbook formulas may not calculate correctly in the browser; use the desktop app for reliable external links.

What happens if I break a link?

The formula is replaced by its last cached value as a static number. This cannot be undone after saving, so keep a backup.

Why do links break when I email the file?

The recipient's copy still points to your original file path, which they cannot access. Share the source workbook too, or convert the formulas to values before sending.

How do I stop Excel asking to update links every time?

Use Edit Links to confirm the source path is correct, or go to File > Options > Advanced > General and adjust the Ask to update automatic links setting. Disabling the prompt does not fix a broken path, so repair the link first.

Why does the formula work on one computer but not another?

The other computer likely cannot reach the source file's path (different drive mapping, permissions, or cloud sync). Store both files in a shared location both machines can access.