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.

Introducing Pivot Tables 34<br />

Exceptions exist, however, and you may find Excel’s pivot table feature useful even for databases that don’t<br />

contain actual numerical data fields. Chapter 35 has an example of a pivot table created from non-numeric<br />

data.<br />

Figure 34.4 shows an example of an Excel range that is not appropriate for a pivot table. This range contains<br />

descriptive information about each value, but it’s not set up as a table. In fact, this range resembles a pivot<br />

table summary.<br />

FIGURE 34.4<br />

This range is not appropriate for a pivot table.<br />

Creating a Pivot Table<br />

In this section, I describe the basic steps required to create a pivot table, using the bank account data.<br />

Creating a pivot table is an interactive process. It’s not at all uncommon to experiment with various layouts<br />

until you find one that you’re satisfied with.<br />

Specifying the data<br />

If your data is in a worksheet range, select any cell in that range and then choose Insert ➪ Tables ➪<br />

PivotTable, which displays the dialog box shown in Figure 34.5.<br />

Excel attempts to guess the range, based on the location of the active cell. If you’re creating a pivot table<br />

from an external data source, you need to select that option and then click Choose Connection to specify<br />

the data source.<br />

If you’re creating a pivot table from data in a worksheet, it’s a good idea to first create a table<br />

TIP<br />

for the range (by choosing Insert ➪ Tables ➪ Table). Then, if you expand the table by adding<br />

new rows of data, Excel will refresh the pivot table without the need to manually indicate the new data range.<br />

595

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

Saved successfully!

Ooh no, something went wrong!