IT tutorials
 
Office
 

Microsoft Excel 2010 : Combining Data from Multiple Sources - Linking to Data in Other Worksheets and Workbooks

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Product Key Free : Microsoft Office 2019 – Serial Number
11/24/2012 3:18:23 PM
Copying and pasting data from one workbook to another is a quick and easy way to gather related data in one place, but there is a substantial limitation: If the data from the original cell changes, the change is not reflected in the cell to which the data was copied. In other words, copying and pasting a cell’s contents doesn’t create a relationship between the original cell and the target cell.

You can ensure that the data in the target cell reflects any changes in the original cell by creating a link between the two cells. Instead of entering a value into the target cell by typing or pasting, you create a formula that identifies the source from which Excel will derive the target cell’s value and updates the value when it changes in the source cell.

To create a link between cells, open both the workbook that contains the cell from which you want to pull the value and the workbook with the target cell. Then click the target cell and type an equal sign, signifying that you want to create a formula. After you type the equal sign, activate the workbook with the cell from which you want to derive the value, click that cell, and then press the Enter key.

When you switch back to the workbook with the target cell, you see that Excel has filled in the formula with a reference to the cell you clicked.

Linking to Data in Other Worksheets and Workbooks

For example, the reference =’[FleetOperatingCosts.xlsx]Truck Fuel’!$C$15 gives three pieces of information: the workbook, the worksheet, and the cell you clicked in the worksheet. The first element of the reference, the name of the workbook, is enclosed in square brackets; the end of the second element (the worksheet) is marked with an exclamation point; and the third element, the cell reference, has a dollar sign before both the row and the column identifier. The single quotes around the workbook name and worksheet name are there to account for the space in the Truck Fuel worksheet’s name. This type of reference is known as a 3-D reference, reflecting the three dimensions (workbook, worksheet, and cell range) that you need to point to a group of cells in another workbook.

Tip

For references to cells in the same workbook, the workbook information is omitted. Likewise, references to cells in the same worksheet don’t use a worksheet identifier.

You can also link to cells in an Excel table. Such links include the workbook name, worksheet name, name of the Excel table, and row and column references of the cell to which you’ve linked. Creating a link to the Cost column’s cell in a table’s Totals row, for example, results in a reference such as =‘FleetOperatingCosts.xlsx’!Truck Maintenance[[#Totals],[Cost]].

Important

Hiding or displaying a table’s Totals row affects any links to a cell in that row. Hiding the Totals row causes references to that row to display a #REF! error message.

Whenever you open a workbook containing a link to another document, Excel tries to update the information in linked cells. If the program can’t find the source, as would happen if a workbook or worksheet is deleted or renamed, an alert box appears to indicate that there is a broken link. At that point, you can click the Update button and then the Edit Links button to open the Edit Links dialog box and find which link is broken. After you identify the broken link, you can close the Edit Links dialog box, click the cell containing the broken link, and create a new link to the desired data.

If you type a link and you make an error, a #REF! error message appears in the cell that contains the link. To fix the link, click the cell, delete its contents, and then either retype the link or create it with the point-and-click method described earlier in this section.

Tip

Excel tracks workbook changes, such as when you change a workbook’s name, very well. Unless you delete a worksheet or workbook, or move a workbook to a new folder, odds are good that Excel can update your link references automatically to reflect the change.

In this exercise, you’ll create a link to another workbook, make the link’s reference invalid, use the Edit Links dialog box to break the link, and then re-create the link correctly.

Set Up

Open the OperatingExpenseDashboard_start and FleetOperatingCosts_start workbooks, and save them as OperatingExpenseDashboard and FleetOperatingCosts, respectively. Then follow the steps.

  1. In the OperatingExpenseDashboard workbook, in cell I6, type =, but do not press Enter.

  2. On the View tab, in the Window group, click Switch Windows and then, in the list, click FleetOperatingCosts.

    Set Up

    The FleetOperatingCosts workbook is displayed.

  3. If necessary, click the Plane Repair sheet tab to display the Plane Repair worksheet, and then click cell C15.

    Excel sets the cell’s formula to =’[FleetOperatingCosts.xlsx]Plane Repair’!$C$15.

  4. Press Enter.

    Excel displays the OperatingExpenseDashboard workbook; the value $2,410,871 appears in cell I6.

    Set Up

    Tip

    Yes, cell C15 on the Plane Repair worksheet contains the wrong total for the Airplane Fuel category; that’s why you replace it later in this exercise.

  5. In the Switch Windows list, click FleetOperatingCosts.

    The FleetOperatingCosts workbook is displayed.

  6. Right-click the Plane Repair sheet tab, and then click Delete. In the message box that appears, click Delete to confirm that you want to delete the worksheet.

    Excel deletes the Plane Repair worksheet.

  7. In the Switch Windows list, click OperatingExpenseDashboard.

    The OperatingExpenseDashboard workbook is displayed, showing a #REF! error in cell I6.

    Tip
  8. On the Data tab, in the Connections group, click Edit Links.

    Tip

    The Edit Links dialog box opens.

    Tip
  9. Click Break Link.

    Excel displays a warning box asking if you’re sure you want to break the link.

  10. Click Break Links.

    The warning box closes, and Excel removes the link from the workbook.

  11. Click Close.

    The Edit Links dialog box closes.

  12. In cell I6, type =, but do not press Enter.

  13. In the Switch Windows list, click FleetOperatingCosts.

    The FleetOperatingCosts workbook is displayed.

  14. Click the Plane Fuel sheet tab.

    The Plane Fuel worksheet is displayed.

  15. Click cell C15, and then press Enter.

    Excel displays the OperatingExpenseDashboard workbook with the value $52,466,303 in cell I6.

    Tip

Clean Up

Save the OperatingExpenseDashboard and FleetOperatingCosts workbooks, and then close them.

 
Others
 
- Microsoft Excel 2010 : Combining Data from Multiple Sources - Using Workbooks as Templates for Other Workbooks
- Tips, tricks & tweaks : Excel 2007
- Office Applications - Office 2013 File Formats (Part 2)
- Office Applications - Office 2013 File Formats (Part 1)
- Word 2013 – “Cleaner, Sleeker, Easier On The Eyes” (Part 2)
- Word 2013 – “Cleaner, Sleeker, Easier On The Eyes” (Part 1)
- PowerPoint 2013 – A Brand-New Look (Part 2)
- PowerPoint 2013 – A Brand-New Look (Part 1)
- Explore The Ways To Try Outlook 2013
- Canon Pixma MX895 - Multifunction Printer With AirPrint And Fax
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us