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 V<br />

Analyzing Data with Excel<br />

A Reverse Pivot Table<br />

Excel’s Pivot Table feature creates a summary table from a list. But what if you want to perform the opposite<br />

operation? Often, you may have a two-way summary table, and it would be convenient if the data were in<br />

the form of a list.<br />

In the figure, range A1:E13 contains a summary table with 48 data points. Notice that this summary table is<br />

similar to a pivot table. Column G:I shows part of a 48-row table that was derived from the summary table. In<br />

other words, every value in the original summary table gets converted to a row, which also contains the<br />

region name and month. This type of table is useful because it can be sorted and manipulated in other ways.<br />

And, you can create a pivot table from this transformed table.<br />

The companion CD-ROM contains a workbook, reverse pivot.xlsm, which has a macro that will convert any<br />

two-way summary table into a three-column normalized table.<br />

Referencing Cells within a Pivot Table<br />

In some cases, you may want to create a formula that references one or more cells within a pivot table.<br />

Figure 35.20 shows a simple pivot table that displays income and expense information for three years. In<br />

this pivot table, the Month field is hidden, so the pivot table shows the year totals.<br />

ON the CD-ROM<br />

This workbook, named income and expenses.xlsx, is available on the companion CD-ROM.<br />

624

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

Saved successfully!

Ooh no, something went wrong!