To connect workbooks in Excel, you create formulas in one workbook that reference cells or ranges in another. The simplest method is to open both files, start a formula in the destination workbook with =, switch to the source workbook, and click the cell you want. Excel writes the external reference for you. For ongoing connections, use Data > Get Data > From File > From Workbook to import a table that can be refreshed. Either way, both files must be saved first, and the source workbook should stay in a known location so the link does not break.

What You'll Need

  • Two or more Excel workbooks saved on your computer or in a shared location (OneDrive, SharePoint, or a network folder).
  • Excel for Microsoft 365, Excel 2021, 2019, or 2016 on Windows or Mac. The steps below describe the desktop app; the web version has limited support for external references.
  • Both workbooks open if you are creating a direct cell reference, or closed if you are importing via Get Data.
  • Edit permissions on the source workbook if it is stored on a shared drive.

Step-by-Step

  1. Save both workbooks. Excel cannot create a reliable external reference to an unsaved file. Give each a clear name and note the folder path.
  2. Open the destination workbook — the one where you want the linked value to appear.
  3. Click the cell where the linked value should go. Type = to start a formula.
  4. Switch to the source workbook using the taskbar or the View > Switch Windows menu. Do not close the destination workbook.
  5. Click the cell or select the range you want to link. Excel inserts the workbook name, sheet name, and cell address into the formula bar, for example =[Budget.xlsx]Sheet1!$B$2.
  6. Press Enter. Excel returns to the destination workbook and displays the linked value. The formula remains an external reference.
  7. Copy the formula down or across if you need the same link for multiple rows. Relative references adjust; absolute references (with $) stay fixed.
  8. For a refreshable table connection, go to the destination workbook and choose Data > Get Data > From File > From Workbook. Browse to the source file, select the table or sheet, and click Load. This creates a connection you can refresh with Data > Refresh All.
  9. Save the destination workbook. When you reopen it, Excel may ask whether to update links. Choose Update to pull the latest values.

Menu labels can differ slightly by Excel version, device, and region. On Mac, Get Data is under Data > Get Data (Power Query). The web version of Excel can display external references but cannot create new ones from the browser.

Common Mistakes

  • Linking to an unsaved workbook. The reference will point to a temporary name and break when you close the file.
  • Moving or renaming the source file after linking. Excel stores the full path. If the file moves, the link fails until you update it.
  • Using the web version to create links. Excel for the web does not support creating external references; use the desktop app.
  • Forgetting to update links on open. If you click Don't Update, you see stale values. Use Data > Edit Links to refresh manually.
  • Assuming a copied formula keeps the same source. Relative references shift when copied; use absolute references or named ranges to keep them fixed.

Tips

  • Use named ranges in the source workbook (Formulas > Define Name) to make formulas easier to read and less likely to break when rows are inserted.
  • Keep linked workbooks in the same folder or a shared drive to reduce path issues.
  • For large datasets, prefer Get Data connections over cell references — they refresh faster and handle more rows.
  • Check links periodically with Data > Edit Links (Windows) or Data > Edit Links (Mac) to see the source path and status.
  • If you share the destination workbook, consider breaking links and pasting values to avoid broken references on other computers.

Troubleshooting

If a linked cell shows #REF! or a security warning, the source file may have moved, been renamed, or be blocked. First, confirm the source workbook still exists at the original path. Then open Data > Edit Links, select the link, and click Change Source to point to the new location. If the link is broken and you cannot find the file, click Break Link — this converts the formula to the last known value and cannot be undone, so save a backup first.

If values do not update, check that calculation is set to Automatic (Formulas > Calculation Options > Automatic). If the source workbook is closed, Excel may still show the last saved value; open the source and refresh. For Get Data connections, use Data > Refresh All; if that fails, check the connection properties under Data > Queries & Connections and verify the file path.

If Excel prompts about links on open and you are unsure, choose Update to get current data, or Don't Update to keep existing values. You can change this behavior in File > Options > Advanced > When calculating this workbook.

Frequently Asked Questions

Can I connect workbooks in Excel for the web?

You can view and edit existing external references, but creating new links to another workbook is not supported in the browser. Use the desktop app to set up the connection, then open the file in the web version.

What happens if I rename the source workbook?

The link breaks because the path changes. Use Data > Edit Links > Change Source to update it, or rename the file back to the original name.

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

Go to File > Options > Advanced > When calculating this workbook and clear the checkbox for "Ask to update automatic links." Be aware that this means links will update silently.

Can I link to a workbook on OneDrive or SharePoint?

Yes, but the reference includes the full URL. If the file is moved or permissions change, the link may fail. For shared files, Get Data connections are more robust.

Why does my formula show the full path instead of just the workbook name?

Excel stores the full path when the source workbook is closed. If both files are open, the formula may show only the workbook name. This is normal and does not affect the result.

Can I connect more than two workbooks?

Yes. You can create references to as many workbooks as needed, but each link adds a dependency. For complex setups, consider consolidating data with Power Query instead of many cell references.