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

with Pivot Tables<br />

The previous chapter was an introduction to pivot tables. I presented several<br />

examples to demonstrate the types of pivot table summaries that you<br />

can generate from a set of data.<br />

This chapter continues the discussion and explores the details of creating effective<br />

pivot tables. Creating a basic pivot table is very easy, and the examples in this<br />

chapter demonstrate additional pivot table features that you may find helpful. I<br />

urge you to try these techniques with your own data. If you don’t have suitable<br />

data, use the files on the companion CD-ROM.<br />

Working with Non-Numeric Data<br />

Most pivot tables are created from numeric data, but pivot tables are also useful<br />

with some types of non-numeric data. Because you can’t sum non-numbers, this<br />

technique involves counting.<br />

IN THIS CHAPTER<br />

How to create a pivot table from<br />

non-numeric data<br />

How to group items in a pivot<br />

table<br />

How to create a calculated field<br />

or a calculated item in a pivot<br />

table<br />

How to create an attractive<br />

report using a pivot table<br />

Figure 35.1 shows a table and a pivot table generated from the table. The table is<br />

a list of 400 employees, along with their location and gender. As you can see, the<br />

table has no numeric values, but you can create a useful pivot table that counts<br />

the items rather than sums them. The pivot table cross-tabulates the Location<br />

field by the Sex field for the 400 employees and shows the count for each combination<br />

of location and gender.<br />

A workbook that demonstrates a pivot table created from nonnumeric<br />

data is available on the companion CD-ROM. The file is<br />

named employee list.xlsx.<br />

ON the CD-ROM<br />

Following are the settings I used for this pivot table:<br />

n<br />

n<br />

The Sex field is used for the Column Labels.<br />

The Location field is used for the Row Labels.<br />

609

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

Saved successfully!

Ooh no, something went wrong!