18.11.2014 Views

Microsoft Office

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Part IV<br />

Using Advanced Excel Features<br />

If you’re consolidating the worksheets in the same workbook and all the worksheets are laid out identically,<br />

the consolidation task is simple. You can just use standard formulas to create the consolidations. For example,<br />

to compute the total for cell A1 in worksheets named Sheet2 through Sheet10, enter the following<br />

formula:<br />

=SUM(Sheet2:Sheet10!A1)<br />

You can enter this formula manually or use the multisheet selection technique discussed in Chapter 5. You<br />

can then copy this formula to create summary formulas for other cells.<br />

If the consolidation involves other workbooks, you can use external reference formulas to perform your<br />

consolidation. For example, if you want to add the values in cell A1 from Sheet1 in two workbooks (named<br />

Region1 and Region2), you can use the following formula:<br />

=[Region1.xlsx]Sheet1!B2+[Region2.xlsx]Sheet1!B2<br />

You can include any number of external references in this formula, up to the 8,000-character limit for a formula.<br />

However, if you use many external references, such a formula can be quite lengthy and confusing if<br />

you need to edit it.<br />

If the worksheets that you’re consolidating aren’t laid out the same, you can still use formulas, but you need<br />

to ensure that each formula refers to the correct cell.<br />

Consolidating worksheets by using Paste Special<br />

Another method of consolidating information is to use the Paste Special dialog box. This technique takes<br />

advantage of the fact that the Paste Special dialog box can perform a mathematical operation when it pastes<br />

data from the Clipboard. For example, you can use the Add option to add the copied data to the selected<br />

range. Figure 27.5 shows the Paste Special dialog box.<br />

This method is applicable only when all the worksheets that you’re consolidating are open. The disadvantage<br />

is that the consolidation isn’t dynamic. In other words, it doesn’t generate formulas. So, if any data that<br />

was consolidated changes, the consolidation is no longer accurate.<br />

FIGURE 27.5<br />

The Paste Special dialog box.<br />

506

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

Saved successfully!

Ooh no, something went wrong!