A linking formula in excel

Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2019 for Mac Excel 2016 Excel 2016 for Mac Excel 2013 Excel 2010 Excel 2007 Excel for Mac 2011 Excel Starter 2010 More…Less

This article describes the formula syntax and usage of the HYPERLINK function in Microsoft Excel.

Description

The HYPERLINK function creates a shortcut that jumps to another location in the current workbook, or opens a document stored on a network server, an intranet, or the Internet. When you click a cell that contains a HYPERLINK function, Excel jumps to the location listed, or opens the document you specified.

Syntax

HYPERLINK(link_location, [friendly_name])

The HYPERLINK function syntax has the following arguments:

  • Link_location    Required. The path and file name to the document to be opened. Link_location can refer to a place in a document — such as a specific cell or named range in an Excel worksheet or workbook, or to a bookmark in a Microsoft Word document. The path can be to a file that is stored on a hard disk drive. The path can also be a universal naming convention (UNC) path on a server (in Microsoft Excel for Windows) or a Uniform Resource Locator (URL) path on the Internet or an intranet.

    Note   Excel for the web the HYPERLINK function is valid for web addresses (URLs) only. Link_location can be a text string enclosed in quotation marks or a reference to a cell that contains the link as a text string.

    If the jump specified in link_location does not exist or cannot be navigated, an error appears when you click the cell.

  • Friendly_name    Optional. The jump text or numeric value that is displayed in the cell. Friendly_name is displayed in blue and is underlined. If friendly_name is omitted, the cell displays the link_location as the jump text.

    Friendly_name can be a value, a text string, a name, or a cell that contains the jump text or value.

    If friendly_name returns an error value (for example, #VALUE!), the cell displays the error instead of the jump text.

Remark

In the Excel desktop application, to select a cell that contains a hyperlink without jumping to the hyperlink destination, click the cell and hold the mouse button until the pointer becomes a cross Excel selection cursor, then release the mouse button. In Excel for the web, select a cell by clicking it when the pointer is an arrow; jump to the hyperlink destination by clicking when the pointer is a pointing hand.

Examples

Example

Result

=HYPERLINK(«http://example.microsoft.com/report/budget report.xlsx», «Click for report»)

Opens a workbook saved at http://example.microsoft.com/report. The cell displays «Click for report» as its jump text.

=HYPERLINK(«[http://example.microsoft.com/report/budget report.xlsx]Annual!F10», D1)

Creates a hyperlink to cell F10 on the Annual worksheet in the workbook saved at http://example.microsoft.com/report. The cell on the worksheet that contains the hyperlink displays the contents of cell D1 as its jump text.

=HYPERLINK(«[http://example.microsoft.com/report/budget report.xlsx]’First Quarter’!DeptTotal», «Click to see First Quarter Department Total»)

Creates a hyperlink to the range named DeptTotal on the First Quarter worksheet in the workbook saved at http://example.microsoft.com/report. The cell on the worksheet that contains the hyperlink displays «Click to see First Quarter Department Total» as its jump text.

=HYPERLINK(«http://example.microsoft.com/Annual Report.docx]QrtlyProfits», «Quarterly Profit Report»)

To create a hyperlink to a specific location in a Word file, you use a bookmark to define the location you want to jump to in the file. This example creates a hyperlink to the bookmark QrtlyProfits in the file Annual Report.doc saved at http://example.microsoft.com.

=HYPERLINK(«\FINANCEStatements1stqtr.xlsx», D5)

Displays the contents of cell D5 as the jump text in the cell and opens the workbook saved on the FINANCE server in the Statements share. This example uses a UNC path.

=HYPERLINK(«D:FINANCE1stqtr.xlsx», H10)

Opens the workbook 1stqtr.xlsx that is stored in the Finance directory on drive D, and displays the numeric value that is stored in cell H10.

=HYPERLINK(«[C:My DocumentsMybook.xlsx]Totals»)

Creates a hyperlink to the Totals area in another (external) workbook, Mybook.xlsx.

=HYPERLINK(«[Book1.xlsx]Sheet1!A10″,»Go to Sheet1 > A10»)

To jump to a different location in the current worksheet, include both the workbook name, and worksheet name like this, where Sheet1 is the current worksheet.

=HYPERLINK(«[Book1.xlsx]January!A10″,»Go to January > A10»)

To jump to a different location in the current worksheet, include both the workbook name, and worksheet name like this, where January is another worksheet in the workbook.

=HYPERLINK(CELL(«address»,January!A1),»Go to January > A1″)

To jump to a different location in the current worksheet without using the fully qualified worksheet reference ([Book1.xlsx]), you can use this, where CELL(«address») returns the current workbook name.

=HYPERLINK($Z$1)

To quickly update all formulas in a worksheet that use a HYPERLINK function with the same arguments, you can place the link target in another cell on the same or another worksheet, and then use an absolute reference to that cell as the link_location in the HYPERLINK formulas. Changes that you make to the link target are immediately reflected in the HYPERLINK formulas.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Excel files are also called workbooks for a very good reason. They can have multiple sheets, or worksheets, to help you organize your data. When working with multiple sheets, you may need to have links between them so that values ​​in one sheet can be used in another.

In this article, we’ll explain how to link data between worksheets in Excel. You’ll see several examples on linking sheets in the same workbook as well as across different ones.

Why link data between sheets in Excel?

Linking sheets in Excel can be a great way to organize your data and keep them consistent across different worksheets. You may want to do this for different purposes, for example:

  • You have a workbook containing data split by month, by state, or by salesperson, and you want a summary in one of the sheets.
  • You want to create lists using links from different sheets in Excel.
  • You want to collect data from multiple sheets and combine them into one to create a master sheet. Or, you may want to link data from a master sheet so that your data in other sheets are always up-to-date.
  • Your data is growing and becoming too voluminous. As a result, you split it into different workbooks to be managed by different people. There can be times when you need to write formulas to get data out of these files.

Creating links between sheets is pretty easy to do. Besides, the main benefit is that whenever your data in the source sheet changes, the data in the destination sheet will be automatically updated as well.

Problems with linking large data between worksheets in the same or different Excel workbooks

Indeed, using multiple worksheets can certainly make your data in one workbook easier to manage. However, linking large amounts of data between worksheets could decrease the performance of your Excel workbook. Avoid inter-workbook links unless it’s absolutely necessary because they can be slow, easily broken, and not always easy to find and fix. 

We suggest you try another solution 👇

When getting large data from different worksheets, especially from different workbooks, we recommend that you import instead of linking. Linking will slow down your Excel file, while an optimized performance can be maintained if you simply import data from Excel to Excel. Use a tool such as Coupler.io to refresh your data on the schedule you want to keep your data up-to-date.

Figure 00.1. Link sheets in Excel using Coupler.io

To start using Coupler.io, sign up for a free account and create your first importer. A wizard will walk you through setting up the source, destination, and auto-refresh schedule for your importer. If you’re importing from Excel to Excel, choose Microsoft Excel as the source and destination of your importer, as follows:

#1. Set up a source

Select Microsoft Excel as the source that contains your data. You’ll need to connect to your Microsoft account and select the workbook and worksheet(s) you want to import. If you want, you can import only a selected range from your worksheets, e.g., range B3:G10 only.

Figure 00.2. Coupler.io data source list

Notice that with Coupler.io, you can also import data from different sources such as HubSpot, Jira, QuickBooks, and more. Check out the complete list of Coupler.io integrations with Excel.

#2. Set up a destination

For the destination, select Microsoft Excel. No need to connect again if you’re importing to the same Microsoft account. After that, choose the workbook and worksheet where you want your data imported.

Figure 00.3. Coupler.io destination list

#3. Schedule

You can keep your data up-to-date by setting up an automatic data refresh on the schedule you want.

Figure 00.4. Coupler.io set up a schedule

Finally, click Save and Run to run your first importer. The import process may take several seconds or minutes to complete.

How to link two Excel sheets in the same workbook

Now, let’s see how to link two sheets in the same Excel workbook, including some tips and examples.

How to link sheets in Excel with a formula

To refer to a cell or range in another worksheet in the same workbook, type the name of the source worksheet followed by an exclamation mark (!) before the range address—see the following examples:

  • To reference a single cell A1 in Sheet2:
=Sheet2!A1
  • To reference a single cell A1 but the sheet name contains spaces:
='Sheet 2'!A1
  • To reference a range of cells A1 to C10 in Sheet2:
=Sheet2!A1:C10
  • To reference column A in Sheet2:
=Sheet2!A:A
  • To reference multiple columns A to E in Sheet2:
=Sheet2!A:E
  • To reference row 5 in Sheet2:
=Sheet2!5:5
  • To reference multiple rows 1 to 5 in Sheet2:
=Sheet2!1:5
  • To reference a worksheet-level named range Data in Sheet2:
=Sheet2!Data
  • To reference a workbook-level named range Data in Sheet2:
=Data

You can always manually type the linking formula in a destination cell. However, doing that is not recommended because it typically leads to mistakes. So, instead of typing the formula manually, check the tips below.

Tip 1: Create a link from the destination sheet

With the following spreadsheet, suppose you want to show the total for New York in the Summary sheet. In cell B2 of the Summary sheet, you want to display the values of cell F5 from the New York sheet.

Figure 01. The Summary and New York worksheets

To do that, follow the steps below:

  1. Begin by opening the destination sheet (Summary).
  2. Type = (equal sign) in the destination cell (B2). 

Figure 02. Typing the equal sign in the destination cell

  1. Switch to source sheet (New York).
  2. Select the cell you want to link (F5), then press Enter.

Figure 03. Selecting pressing Enter in the source cell

As a result, when you click on the destination cell, you’ll see the following formula: 

='New York'!F5

Figure 04. The linkage formula the sheet name is enclosed with single quotes

Notice that Excel automatically encloses the sheet name with single quotation marks because there is a space character in the sheet name. 

Tip 2: Use Copy and Paste Link

This second tip also allows you to link to another sheet without manually typing the linking formula. Unlike the first method that begins from the destination sheet, this method starts from the source sheet.

This time, suppose you want to show the total for Florida in the Summary sheet. In cell B3 of the Summary sheet, you want to display the values of cell F5 from the Florida sheet.

Figure 05. The Summary and Florida sheets

Follow the steps below:

  1. Begin by opening the source sheet (Florida).
  2. Right-click on the cell you want to link (F5), then select Copy.

Figure 06. Copy the source cell

  1. Switch to the destination sheet (Summary).
  2. In the destination cell (B3), right-click and select Paste Link

Figure 07. Paste Link

As a result, when you click on B3, you’ll see the following formula: 

=Florida!$F$5

Figure 08. The linkage formula with an absolute reference

Notice that by default, this method returns an absolute reference. If you want to change it to a relative reference, simply highlight the formula and press F4 multiple times to remove the dollar signs.

How to link numbers from different sheets in Excel using the INDIRECT function

In the previous example, notice that the New York and Florida sheets have the same layout. In cases like this, you can also use the INDIRECT function in the formula to get the totals. 

Now, let’s see the following spreadsheet with a Summary sheet and three other sheets with a similar layout. Assume you want to link the total in cell F5 from the three sheets and put them in the Summary sheet using the INDIRECT function.

Figure 09. An example of how to link numbers from different sheets in Excel

To do that, follow the steps below:

  1. Link the total for New York only:
='New York'!F5

Figure 10. Linking the total for New York

  1. Replace the formula using the INDIRECT function below. Notice that we concatenate A2 with single quotes because its value contains a space character.
=INDIRECT("'"&A2&"'!F5")

Figure 11. Using the INDIRECT function to link sheets in Excel

  1. Drag the formula down to A4 to apply it to the other states.

Figure 12. Applying the INDIRECT formula for other states as well

How to link data in a range of cells between sheets in Excel

With the following spreadsheet, suppose you want to link the retail sales data for Florida and put them in the Retail Summary sheet, as the following screenshot shows:

Figure 13. How to link a range of cells from another sheet example

The range to link is in B3:E3 of the second sheet. To display it in the destination sheet, use the following formula in a cell:

=Florida!B3:E3

Figure 14. How to link a range of cells from another sheet result

How to link columns from different sheets to another sheet in Excel

With the following spreadsheet, suppose you want to link the entire Column B from the Product sheet to Sheet1. To do that, you can use the following formula:

=Product!B:B

Figure 15. Link a column to another sheet example

However, if you notice, the blank cells are showing zeros. If you want to see empty cells when there is nothing in the original sheet, you can change the formula to the one below:

=IF(LEN(Product!B:B)>0, Product!B:B,"")

Figure 16. Link a column to another sheet result

How to link to a defined name in other sheets in Excel

For most people, words are easier to remember than numbers or codes. For this reason, Excel allows you to name an individual cell or range of cells. Then, you can use these names when referring to data in another sheet instead of typing the range address.

With the following worksheet, let’s create a defined name for range B2:B5 and name it Q1_Sales

Figure 17. An example case of creating a defined name in Excel

First, select the range of cells to include (B2:B5). Then, in the Name Box, type Q1_Sales and press Enter — and Done!

Figure 18. Giving a name for a range of cells

By default, Excel creates the name at the workbook level. To reference the defined name in another worksheet, just type the following formula into any cell.

=Q1_Sales

Figure 19. An example of linking to a defined name from another worksheet

You can also use the defined name with an Excel function in a formula. For example, the following formula calculates the average of Q1_Sales:

=AVERAGE(Q1_Sales)

Figure 20. An example of referencing a defined name in a calculation

How to link lists in different sheets in Excel

With the following spreadsheet, suppose you want to create a dropdown list in Sheet1 that contains product category data from Sheet2. This will allow you to select the Category in Column D using a dropdown instead of typing it manually.

Figure 21. Link lists in different sheets in Excel example

Follow these steps:

  1. In Sheet1, select the range you want to apply to the dropdown list, which is D2:D4.
  2. Click Data > Data Validation.
  3. In the “Data Validation” dialog box, enter the following details, then click OK.
  • Allow : List
  • Source : =Sheet2!$A$2:$A$5 

Figure 22. The Data Validation dialog box

We enter a link reference to product category data in Sheet2, which is in range A2:A5. As a result, now you select the product category in Sheet1 using a dropdown, as shown below:

Figure 23. Link lists in different sheets in Excel result

How to link to hidden sheets in Excel

A sheet can be hidden for different reasons. For example, you may want to hide sheets that are no longer frequently being used by other users. 

To create a link to a hidden sheet, simply unhide it first, create the link, then hide it again if necessary. 

You can actually refer to hidden sheets without unhiding them first, as long as you know the name of the sheets and the range you want to link from these sheets. However, most of the time, you’ll need to unhide them first to see the data you want to link so that you don’t accidentally refer to the wrong range of cells when creating the links.

There are two different types of hidden sheets in Excel: hidden and very hidden. While unhiding a hidden sheet is very easy, you will need to open the Visual Basic Editor (VBE) to unhide a very hidden sheet. 

To link to a hidden sheet in Excel

  1. Unhide the sheet by right-clicking on any visible sheet, then select Unhide.

Figure 24. How to unhide a hidden sheet

  1. In the “Unhide” dialog box that appears, select the sheet you want to unhide, then click OK.

Figure 25. Selecting a hidden sheet to unhide

  1. Use a linking formula to link the data you want to show in another sheet.
    For example, the following formula in the Summary sheet shows the range A1:E1 from the sheet we just made visible.
=HiddenSheet!A1:E1

Figure 26. A linking formula to show data from the HiddenSheet sheet

  1. If you want, hide the sheet again by clicking on the sheet tab, then select Hide

Figure 27. How to hide a sheet in Excel

To link to a very hidden sheet in Excel

  1. Open the VBE by pressing Alt+F11.
  2. Press F4 or click View > Properties Window to open the Properties window under the Project Explorer if it’s not already open.
  3. In Project Explorer, select the very hidden sheet you want to unhide. Then, set its Visible property to -1 - xlSheetVisible in the Properties window.

Figure 28. How to unhide a very hidden sheet

  1. Use a linking formula to link the data you want to show in another sheet. For example, the following formula in the Summary sheet shows the range A1:E1 from the very hidden sheet we just made visible.
=VeryHiddenSheet!A1:E1

Figure 29. A linking formula to show data from the VeryHiddenSheet sheet

  1. If you want, change the sheet’s Visible property back to 2 - xlSheetVeryHidden in the Properties window to make it a very hidden sheet again.

How to link sheets in Excel to a master sheet

With the following spreadsheet, suppose you want to link data from two worksheets into one.

Figure 30. Link sheets to a master sheet in Excel example

Notice that it’s like combining two ranges, which are Rose!A1:C6 and Sunflower!A1:C6

However, combining ranges in Excel using a formula is a bit complex. An easier way to do this is using Power Query, as explained in the steps below:

  1. In the Rose sheet, select the range A1:C6. 
  2. Then, on the Data tab in the Get & Transform Data section, click From Table/Range.
  3. In the “Create Table” dialog box, ensure that the My table has headers option checked.

Figure 31. Creating a table

  1. Click OK — this will bring you to the Power Query editor.
  2. In the Query Settings, give your query a descriptive name, e.g., Roses.

Figure 32. Renaming the table

  1. Click the Home tab, then click Close & Load > Close & Load To…
  2. In the “Import Data” dialog box, select Only Create Connection, then press OK.

Figure 33. The Import Data dialog box

  1. Repeat steps 1-7 for the Sunflower data. But for the fifth step, let’s rename the query as Sunflowers.
  2. Re-launch the Power Query editor by clicking the Data tab, then click Get Data > Launch Power Query Editor…
  3. Select any query, then click Append Queries > Append Queries as New to keep the existing queries unchanged.

Figure 34. The menu to append queries as new

  1. In the Append window, select the other table as the second table, then click OK.

Figure 35. Appending two tables

  1.  Make sure to select the newly created query. Then, on the Home tab, click Close & Load > Close & Load To…
  2. In the “Import Data” dialog box, load the combined data to Sheet1!A1, then click OK.

Figure 36. Loading the combined tables to another worksheet

To see the result, click Sheet1. You’ll find the combined data as shown in the following screenshot: 

Figure 37. Link sheets in Excel to a master sheet final result

When the source data from the other sheets change, you won’t see the new changes right away. Using this method, you need to click the Refresh All button in the Data tab to see the latest data.

How to link two Excel sheets in different workbooks

To link to a worksheet in another workbook, you can do it whether the source file is open or closed. If possible, we suggest you open all the source workbooks first before creating the links in the destination workbook. Why? Because this way is easier.

As an example, suppose you have the following four workbooks: Summary.xlsx, Jason Jones.xlsx, Melinda.xlsx, and Amanda Walker.xlsx. In the Summary workbook, you want to link the total sales of each salesperson, which is in cell F3 of each of the other workbooks—see the following screenshot:

Figure 38. An example of how to link worksheets from different workbooks in Excel

Link to another worksheet when the source workbook is open

When all the source files are open, you can follow the steps below to create the links:

  1. In the Summary workbook, type = (equal sign) in the destination cell for Jason Jones.

Figure 39. Typing the equal sign in the destination cell

  1. Click View > Switch Windows, then select Jason Jones.xlsx to switch to this workbook.

Figure 40. Switching to another workbook

  1. Select the cell to link, in this case, F3, then press Enter.

Figure 41. Linking a cell from another workbook

  1. Repeat Steps 1-3 for Melinda and Amanda Walker

As the final result, you’ll see formulas with the following format when you click on each of the destination cells:

='[SourceWorkbook.xlsx]SheetName'!RangeAddress

Figure 42. The linking formulas to workbooks that are currently open

Note: In the above example, the workbook name and/or sheet name contain spaces, so the path is enclosed in single quotation marks. 

Link to another worksheet when the source workbook is closed

If you close the source workbooks one by one, the linking formulas in the Summary workbook will change as shown in the below screenshot:

Figure 43. The linking formulas to workbooks that are currently closed

Now, you get the idea — you need to use the full path when linking to a workbook that’s currently closed.

Basically, you can use the following format to link data from any Excel workbooks:

='FolderPath[SourceWorkbook.xlsx]SheetName'!RangeAddress

However, if possible, just open the source files before you create the link, so you don’t need to manually type the long formula that’s shown above. 🙂

Can you break links between sheets in different workbooks in Excel?

When you open an Excel file, there may be formulas in it that get data from another workbook. 

To locate these formulas, click on the Data tab in the ribbon. If the Edit Links button is available, it means that your file contains links to other workbooks.

Figure 44. The Edit Links button

To break a link, follow these steps:

  1. On the Data tab, in the Queries & Connections section, click Edit Links.
  2. In the “Edit Links” dialog box that appears, select the link you want to break and click Break Link.

Figure 45. The Edit Links dialog box

  1. Click Break Links in the confirmation dialog box that appears.

Figure 46. A confirmation dialog to break links

Notice that when you break a link to the source workbook, all the linking formulas are converted to their current values. This action cannot be undone, so you may want to back up your workbook before breaking any links. 

  1. Click Close.

In this section, you’ve learned the basics of how to link sheets from different workbooks, as well as how to break those links. If you’re interested in more examples of linking worksheets from different workbooks, check out our article on how to link Excel files. 

Thanks for reading, and good luck with your data!

  • Fitrianingrum Seto

    Senior analyst programmer

Back to Blog

Focus on your business

goals while we take care of your data!

Try Coupler.io

In Excel, copying data from one worksheet to another is an easy task, but there is not any link between the two. But we can create a link between two worksheets or workbooks to automatically update data in another sheet if it changes in the first worksheet. This article explains how this is done.

Automatically data in another sheet in Excel

We can link worksheets and update data automatically. A link is a dynamic formula that pulls data from a cell of one worksheet and automatically updates that data to another worksheet. These linking worksheets can be in the same workbook or in another workbook.

One worksheet is called the source worksheet, from where this link pulls the data automatically, and the other worksheet is called the destination worksheet that contains that link formula and where data is updated automatically.

Remember one thing that formatting of cells of source worksheet and destination worksheet should be the same otherwise the result could be viewed differently and can lead to confusion.

Two methods of linking data in different worksheets

We can link these two worksheets using two different methods. 

  1. Copy and Paste Link
    • From source worksheet, select the cell that contains data or that you want to link to another worksheet, and copy it by pressing the Copy button from the Home tab or press CTRL+C.
    • Go to the destination worksheet and click the cell where you want to link the cell from the source worksheet. On the Home tab, click on the drop-down arrow button of Paste, and select Paste Link from “Other Paste Options.” Or right-click in the cell on the destination worksheet and choose Paste Link from Paste Options.
    • Save the work or return to the source workbook and press ESC button on the keyboard to remove the border around the copied cell and save the work.

  2. Enter formula manually
    • In the destination worksheet, click on the cell that will contain link formula and enter an equal sign (=)
    • Go to the source sheet and click on the cell that contains data and press Enter on the keyboard. Save your work.

Using these two methods, we can link a worksheet and update data automatically depending upon your requirements. In this article, we will discuss some examples using the following cases.

Update cell on one worksheet based on a cell on another sheet

Suppose we have a value of 200 in cell A1 on Sheet1 and want to update cell A1 on Sheet2 using the linking formula. We can do that by using the same two methods we’ve covered.

Using Copy and Paste Link method

Copy the cell value of 200 from cell A1 on Sheet1.

Go to Sheet2, click in cell A1 and click on the drop-down arrow of Paste button on the Home tab and select Paste Link button. It will generate a link by automatically entering the formula =Sheet1!A1.

Or right-click in the cell on the destination worksheet, Sheet2, and choose Paste Link from Paste Options: It will generate linking formula automatically.

Entering formula manually

We can enter the linking formula manually in cell A1 on the destination worksheet Sheet2 to update data by pulling it from cell A1 of Sheet1.

In cell A1 on Sheet2, manually enter an equal sign (=) and go to Sheet1 and click on cell A1 and press ENTER key on your keyboard. The following linking formula will be updated in destination sheet that will link cell A1 of both sheets.
=Sheet1!A1

Update cell on one sheet only if the first sheet meets a condition

By entering the linking formula manually, we can update data in cell A1 of Sheet2 based on a condition if the cell value of A1 on Sheet1 is greater than 200. We can do that by entering this logical condition in an IF function. If cell A1 on Sheet1 meets this condition then IF function returns the value in cell A1 on Sheet2 otherwise it will return blank cell.

Here is the formula to link the cells of both sheets based on this condition. We will enter this formula manually in cell A1 of Sheet2
=IF(Sheet1!A1>200,Sheet1!A1,"")

Update cell on one sheet from another sheet with a drop-down list

Suppose we have a drop-down list in cell A1 of Sheet1 and we can update cell A1 on Sheet2 by entering link formula in cell A1 on Sheet2.

In cell A1 on Sheet2, we will manually enter this linking formula to update data automatically based on the cell value selected from the drop-down list.
=Sheet1!A1

Linking data in a real data set is more complex and depends on your situation. You might need to use techniques other than those listed above. If you are in a rush and want your problem answered by an Excel expert, try our service. The experts are available to help you 24/7. The first question is free.

In all previous lessons, formulas and functions were referenced within one sheet. Now we will just a little extend to the possibilities of their links.

The Excel allows you to make links in formulas and functions to other worksheets and even books. You can link to the data of the separate file. By the way, in this way, you can restore to a data from a damaged xlsx file.



The link to the sheet in the Excel formula

You need to enter incomes for January, February and March on three separate sheets. Then on the fourth sheet in the cell B2 to sum them.

need to enter incomes.

There is the question arises: how to link to another sheet in Excel? To implement this task, do the following:

  1. To fill in Sheet1 (January), Sheet2 (February) and Sheet3 (March) as shown in the figure above.
  2. To go to Sheet4 in the cell B2.
  3. To put the «=» sign and go out to the Sheet1 (January). There you need to click by the left mouse button on the cell B2.
  4. Sheet1 January B2.

  5. To put the «+» sign and repeat the same steps of the previous paragraph, but only on the Sheet2 (February), and then on the Sheet3 (March).
  6. repeat the same steps.

  7. When the formula has the following form: =January!B2+February!B2+March!B2, you should to press Enter. The result should be the same as in the figure.



How can I do the link to a sheet in Excel?

The link to the sheet is slightly different from the traditional link. It consists of 3 elements:

  1. The name of sheet.
  2. The exclamation mark (the serves as a separator and helps visually determine what sheet belongs to the cell address).
  3. The address is in the cell in the same sheet.

The note. The links to the sheets can be entered and manually that will work the same. Just in the above case is less likely to allow a syntactic error, because of which the formula will not work.

The link to a sheet in another Excel workbook

The link to a sheet in another book has already 5 elements. It looks like this: =’C:Docs[Report.xlsx]Sheet1′!B2.

The description of elements of the link to another Excel workbook:

  1. The path to the book file (after the sign is the apostrophe is opened).
  2. The name of the book file (the name`s file is in square brackets).
  3. The name`s sheet of this book (after the name the apostrophe closes).
  4. The exclamation mark.
  5. The reference to the cell or the cells` range.

This link should read as follows:

  • the book is located on the disk C: in the Docs folder;
  • the file`s name of the «Report» book with the extension «.xlsx»;
  • on the «Sheet1» in the cell B2 is the value to which the formula or function refers.

The helpful advice. If the book file is damaged, but you need to get the data out of it, you can manually register the path to the cells with relative links and to copy them to the entire sheet of the new workbook. It works in 90% of cases.

Without functions and formulas, Excel would be one large table that designed to manually fill in data. Thanks to functions and formulas, it is a powerful computational tool. And the results obtained are dynamically represented in the desired form (if necessary even in a graphical one).

Понравилась статья? Поделить с друзьями:
  • A kind word and a gun can do more than just a kind word
  • A keyword is a word which
  • A keyword is a word that
  • A key word thing
  • A hundred dollar word