18.11.2014 Views

Microsoft Office

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Linking and Consolidating Worksheets 27<br />

3. Enter the formula. When you get to the part that requires the external reference, activate the<br />

source workbook and select the cell or range and press Enter. If you’re simply creating a link and<br />

not using the external reference as part of a formula, just enter an equal sign (=) and then select<br />

the cell and press Enter.<br />

4. After you press Enter, you return to the dependent workbook, where you can finish the<br />

formula.<br />

When you point to the cell or range, Excel automatically takes care of the details and creates a syntactically<br />

correct external reference. When using this method, the cell reference is always an absolute reference (such<br />

as $A$1). If you plan to copy the formula to create additional link formulas, you need to change the absolute<br />

reference to a relative reference by removing the dollar signs for the cell address.<br />

As long as the source workbook remains open, the external reference doesn’t include the path to the workbook.<br />

If you close the source workbook, however, the external reference formulas change to include the<br />

full path.<br />

If you choose the <strong>Office</strong> ➪ Save As command to save the source workbook with a different<br />

name, Excel changes the external references to use the new filename. In some cases — but not<br />

always — this change is exactly what you want.<br />

CAUTION<br />

Pasting links<br />

Pasting links provides another way to create external reference formulas. This method is applicable when<br />

you want to create formulas that simply reference other cells. Follow these steps:<br />

1. Open the source workbook.<br />

2. Select the cell or range that you want to link and then copy it to the Clipboard.<br />

3. Activate the dependent workbook and select the cell in which you want the link formula to<br />

appear. If you’re pasting a copied range, just select the upper-left cell.<br />

4. Choose Home ➪ Clipboard ➪ Paste ➪ Paste Link.<br />

Working with External Reference Formulas<br />

This section discusses what you need to know about working with links.<br />

Creating links to unsaved workbooks<br />

Excel enables you to create link formulas to unsaved workbooks (and even to nonexistent workbooks).<br />

Assume that you have two workbooks open (Book1 and Book2), and you haven’t saved either of them. If<br />

you create a link formula to Book1 in Book2 and then save Book2, Excel displays the dialog box shown in<br />

Figure 27.1.<br />

FIGURE 27.1<br />

This message indicates that the workbook you’re saving contains references to a workbook that you haven’t yet saved.<br />

501

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!