Smart Systems for Home

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

How to Link Excel Workbooks

· 5 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

Yes, you can link Excel workbooks to pull data from one file into another, making it easy to update reports across multiple sheets without manually copying and pasting. You will need two separate Excel files open on your computer to begin this process, as the linking function works best when both files are accessible in the same instance of the application.

What You'll Need

  • A computer running Microsoft Excel (Windows or Mac versions behave slightly differently).
  • Two separate Excel workbooks containing the data you wish to connect.
  • Access to the same file location for both workbooks, as network paths sometimes cause connection errors.
  • A stable internet connection if the files are hosted on a cloud service like OneDrive or SharePoint.

Step-by-Step

  1. Open both workbooks. Launch Excel and open the source workbook (the file that contains the original data) first. Then, open the destination workbook (the file where you want the data to appear) in a separate window or tab.
  2. Select the cell. In the destination workbook, click on the specific cell where you want the data from the source workbook to appear. Ensure this cell is empty, as linking will overwrite any existing content.
  3. Open the 'Insert' tab. Look at the top ribbon of the Excel window. You will see a series of tabs including File, Home, Insert, etc. Click on the Insert tab to reveal its toolbar.
  4. Locate the 'Link' command. On the Insert tab, find the group of commands labeled Links or Links (sometimes grouped under 'Text'). Click the Link icon. This icon usually looks like two chain links connected together.
  5. Choose the 'Existing File or Web Page' option. In the 'Insert Link' dialog box that appears, you will see several options on the left side. Click on the option labeled 'Existing File or Web Page'. This ensures you are linking to a file on your computer rather than a webpage.
  6. Navigate to the source file. The dialog box will display a list of recently used files or a file explorer window. You can either select the source file from the 'Recent Files' list or click the folder icon to browse your computer's directories. Navigate to where your source workbook is saved and select it.
  7. Select the range of data. Once the source file is selected, the dialog box will show a preview of the data. Look for the 'Select Area' or 'Reference' field. Click the arrow next to this field, and you will be taken back to the source workbook. Click and drag your mouse to highlight exactly the cells you want to link.
  8. Set the link type. In the 'Insert Link' dialog box, you will see a section for 'Type of link'. Choose 'Anchor' for a static link that does not update automatically, or 'Cell' for a dynamic link that updates whenever the source data changes. For most reporting purposes, you want the dynamic 'Cell' option.
  9. Confirm the link. Click the OK button at the bottom of the dialog box. The data from the source workbook should now appear in your destination workbook.
  10. Verify the update. Go back to the source workbook and change a number in the linked cell. Switch back to the destination workbook. If the link was set correctly as 'Cell', the number in the destination workbook should update automatically to reflect the change.

Common Mistakes

One frequent error is linking to a range that includes the header row, which can cause the destination sheet to look messy and confusing. Always double-check that you are highlighting only the raw data you intend to display. Another mistake is forgetting to save the destination workbook after creating the link, which can sometimes prevent the update mechanism from working correctly when closing and reopening the file.

Tips

When working with large datasets, consider using a PivotTable in the destination workbook instead of a direct cell link. PivotTables are much more efficient and easier to refresh when the source data changes significantly. If you are moving files to a different computer, the links may break. To fix this, you can open the destination workbook, right-click on the linked cell, and select Update Links from the context menu to reconnect to the new file location.

Troubleshooting

If the linked data does not update, check the 'Edit Links' command. You can find this by clicking on the Insert tab and looking for the 'Links' group again, or by going to the Data tab and selecting Edit Links. In the dialog that opens, ensure the 'Update' checkbox is selected and that the status of the source file shows as 'OK'. If it shows as 'Status: Source file not found', you will need to select the source file from the list and click Change Source to point Excel to the new location of the file.

Frequently Asked Questions

Can I link Excel files on different computers?

Yes, but both computers must have access to the same network location or cloud drive where the files are saved. If you move the file to a USB drive and take it to a different computer, the link will break unless you update the link path.

What happens if I delete the source file?

If you delete the source file, the link will display an error or #REF! in the destination cell. To prevent this, always back up your source files before performing any deletion operations.

How do I stop the data from updating automatically?

When creating the link, ensure you select the 'Anchor' option instead of 'Cell' in the 'Type of link' section. Alternatively, you can open the destination file, go to the Data tab, click Edit Links, and uncheck the 'Auto Update' box for that specific link.

Why does the link show the wrong file path?

Excel often stores links using absolute paths, meaning the full address of the file. If you move the folder, the link will break. Using a network drive or a cloud service like OneDrive ensures the path remains valid even if you move the folder around.

Can I link to a specific sheet in another workbook?

Yes, when you select the source file in the dialog box, the 'Reference' field allows you to type the specific Sheet Name followed by an exclamation mark, such as 'Sheet1!A1', to link to a precise location on a specific sheet.

Does linking slow down Excel?

Yes, linking multiple workbooks can slow down performance, especially if there are many links or if the files are stored on a network drive. It is best to limit the number of links and close workbooks you are not currently using to maintain speed.