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.

Part V<br />

Analyzing Data with Excel<br />

Question 2<br />

How many accounts were opened at each branch, broken down by account type?<br />

Figure 34.12 shows a pivot table that answers this question.<br />

n The AcctType field is in the Column Labels section.<br />

n The Branch field is in the Row Labels section.<br />

n The Amount field is in the Value section and is summarized by Count.<br />

The most common summary function used in pivot tables is Sum. In this case, I changed the summary<br />

function to Count. To change the summary function to Count, right-click any cell in the Value area and<br />

choose Summarize Data By ➪ Count from the shortcut menu.<br />

FIGURE 34.12<br />

This pivot table uses the Count function to summarize the data.<br />

Question 3<br />

What’s the dollar distribution of the different account types?<br />

Figure 34.13 shows a pivot table that answer this question. For example, 253 of the new accounts were for<br />

an amount of $5,000 or less.<br />

This pivot table is unusual because it uses only one field: Amount.<br />

n The Amount field is in the Row Labels section (grouped).<br />

n The Amount field is also in the Values section and is summarized by Count.<br />

n A third instance of the Amount field is the Values section, summarized by Percent of Total.<br />

When I initially added the Amount field to the Row Labels section, the pivot table showed a row for each<br />

unique dollar amount. I right-clicked one of the Row Labels and selected Group. Then I used Excel’s<br />

Grouping dialog box to set up bins of $5,000 increments.<br />

The second instance of the Amount field (in the Values section) is summarized by Count. I right-clicked a<br />

value and chose Summarize Data By ➪ Count.<br />

I added another instance of Amount to the Values section, and I set it up to display the percentage. I used<br />

the Show Values As tab of the Data Field Settings dialog box and specified % Of Total. To display the Data<br />

Field Settings dialog box, right-click any cell and choose Summarize Data As ➪ More Options.<br />

604

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

Saved successfully!

Ooh no, something went wrong!