How to Link Excel Workbooks (4 Effective Methods)

Sometimes you need to link one Excel workbook with other workbooks to import data or to use in a formula. In this article, I’ll show you 4 effective methods to link Excel workbooks with each other.

Suppose you have sales data of different salesmen in a sheet named “Sales Data” of the workbook named “Reference Workbook”.

dataset 1

Now, you want to extract “Yearly Sales” from the Reference Workbook to a sheet named “Sales Summary” in the workbook named “Link Excel Workbooks”.

dataset 2

I will show you how you can do that by linking the two workbooks.


How to Link Excel Workbooks: 4 Methods

1. Link Excel Workbooks Using Paste Link Option

To use the Paste Link option, first,

➤ Select the cells of the “Yearly Sales” column from the “Reference Workbook” and right-click on it.

It will open a context menu.

➤ Click on Copy from this menu.

After that,

➤ Open the “Link Excel Workbooks” Excel file

➤ Right-click on cell C5 (first cell of “Yearly Sales” column)

A context menu will appear.

➤ Click on the Paste Link icon from the Paste Options.

link Excel workbooks

As a result, the “Reference Workbook” will be linked with the current workbook and you will get the data in the second workbook from the first workbook.

paste link

If you click on any of the linking cells, you can see that the cell is referring to another workbook in the formula bar.

link Excel workbooks


2. Switching Between Two Workbooks

You can link workbooks by creating a formula and switching between these workbooks. First,

➤ Open both workbooks

both workbooks

➤ Type = in cell C5 (first cell of the “Yearly Sales” column).

referring

Now,

➤ Go to the “Reference Workbook” and click on cell G5 (first cell of “Yearly Sales” column of the “Reference Workbook”)

link Excel workbooks

After that,

➤ Go back to the first workbook.

Now, you will see the selected cell of the first workbook (“Link Excel Workbooks”) is referring to a cell of the second workbook (“Reference Workbook”).

link Excel workbooks

Now,

➤ Press ENTER.

So, cell C5 of this workbook will be linked with cell G5 of the other workbook.

link Excel workbooks

Now, when you link one workbook with another workbook in this way, Excel automatically applies Absolute reference. You need to convert this absolute reference into a relative reference.

➤ Delete the dollar sign ($) from the formula.

link Excel workbooks

At last,

➤ Press ENTER and Drag cell C5 to the end.

As a result, the “Reference Workbook” will be linked with the “Link Excel Workbooks” workbook and you will get the data in the second workbook from the first workbook.


3. By Entering Formula Manually

You can manually link a workbook with another Excel workbook by referring to the second workbook in the formula of the first workbook.

➤ Type the following formula in cell C5,

='[Reference Workbook.xlsx]Sales Data'!G5

Here, Reference Workbook.xlsx refers to the second workbook and Sales Data refers to the datasheet containing data for linking that workbook. G5 is the first cell of the “Yearly Sales” column from the Sales Data sheet of the second workbook

link Excel workbooks

➤ Press ENTER.

So, cell C5 of this workbook will be linked with cell G5 of the other workbook.

link Excel workbooks

At last,

➤ Drag cell C5 to the end.

As a result, the “Reference Workbook” will be linked with the “Link Excel Workbooks” and you will get the data in the second workbook from the first workbook.

link Excel workbooks

If you close the second workbook now, the formula in the first workbook will automatically change to this,

='C:\Users\User\Desktop\Reference Workbook.xlsx]Sales Data'!G5

Here, C:\Users\User\Desktop is the location of the linked workbook in your computer.

link Excel workbooks


4. Link Excel Workbooks Using Named Range

You can link Excel workbooks by using Named Range. First,

➤ Open the “Reference Workbook” and select the cells of the Yearly Sales column

➤ Go to Formulas > Defined Names > Define Name.

used range

As a result, a window named New Name will appear.

➤ In the Name box, type a name for the selected cells and press OK.

name box

After that,

➤ Open the workbook “Link Excel Workbooks” and Type the following formula in cell C5,

='Reference Workbook.xlsx'!Yearly_Sales

Here the formula will link the named range of the other workbook with this workbook.

link Excel workbooks

Now, if you use Excel 365,

➤ Press ENTER.

If you use any other version of Excel, you have to press CTRL+SHIFT+ENTER for this array formula.

After that, the other workbook will be linked with this workbook.

result


Things to Remember

🔺 When you close the workbook, Excel disables all the links used in the workbook for security purposes. To use this link you have to enable them by clicking on the Enable Content in the SECURITY WARNING dialog box, after reopening the workbook.

warning

🔺 Check if the Automatic option is checked from Formulas > Calculation Options > Automatic. Otherwise, the linked cells of your workbook won’t change automatically when you make a change in the other workbook.

automatic calculation


Download Practice Workbooks


Conclusion

I hope now you know how to link Excel workbooks. If you feel any confusion about any of the four methods described in this article, please feel free to leave a comment.


Linking Workbooks in Excel: Knowledge Hub

<< Go Back To Linking in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Prantick Bala
Prantick Bala

PRANTICK BALA is a marine engineer who loves exploring Excel and VBA programming. Programming, to him, is a time-saving tool for efficiently managing data, files, and internet tasks. He is proficient in Rhino3D, Maxsurf, C++, MS Office, AutoCAD, Excel, and VBA and goes beyond the basics. Armed with a B.Sc in Naval Architecture & Marine Engineering from BUET, he has transitioned into the role of a content developer. Beyond his work, find him immersed in books, exploring new... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo