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.

Analyzing Data with Pivot Tables 35<br />

A pivot chart example<br />

Figure 35.22 shows part of a table that tracks daily sales by region. The Date field contains dates for the<br />

entire year (excluding weekends), the Region field contains the region name (Eastern, Southern, or<br />

Western), and the Sales field contains the sales amount.<br />

ON the CD-ROM<br />

This workbook, named sales by region.xlsx, is available on the companion CD-ROM.<br />

FIGURE 35.22<br />

This data will be used to create a pivot chart.<br />

The first step is to create a pivot table to summarize the data. Figure 35.23 shows the pivot table. The Date<br />

field is in the Row Labels area, and the daily dates have been grouped into months. The Region field is in<br />

the Column Labels area. The Sales field is in the Values area.<br />

The pivot table is certainly easier to interpret than the raw data, but the trends would be easier to spot in a<br />

chart.<br />

To create a pivot chart, select any cell in the pivot table and choose PivotTable Tools ➪ Options ➪ Tools ➪<br />

Pivot Chart. Excel displays its Create Chart dialog box, from which you can choose a chart type. For this<br />

example, select a standard line chart and click OK. Excel creates the pivot chart and also displays the<br />

PivotChart Filter pane, shown in Figure 35.24.<br />

The chart makes it easy to see an upward sales trend for the Western division, a downward trend for the<br />

Southern division, and relatively flat sales for the Eastern division.<br />

When you select a pivot chart, the Ribbon displays a new tab: PivotChart Tools. The commands are virtually<br />

identical to those for a standard Excel chart, so you can manipulate the pivot chart any way you like.<br />

627

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

Saved successfully!

Ooh no, something went wrong!