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

To create a calculated item to compute the commission for January, February, and March, follow these steps:<br />

1. Move the cell pointer to the Row Labels or Column Labels area of the pivot table and<br />

choose PivotTable Tools ➪ Options ➪ Tools ➪ Formulas ➪ Calculated Item. Excel displays<br />

the Insert Calculated Item dialog box.<br />

2. Enter a name for the new item in the Name box and specify the formula in the Formula box<br />

(see Figure 35.17). The formula can use items in other fields, but it can’t use worksheet functions.<br />

For this example, the new item is named Qtr1 Commission, and the formula appears as<br />

follows:<br />

=10%*(Jan+Feb+Mar)<br />

3. Click Add.<br />

4. Repeat Steps 2 and 3 to create three additional calculated items:<br />

Qtr2 Commission: = 11%*(Apr+May+Jun)<br />

Qtr3 Commission: = 12%*(Jul+Aug+Sep)<br />

Qtr4 Commission: = 12.5%*(Oct+Nov+Dec)<br />

5. Click OK to close the dialog box.<br />

FIGURE 35.17<br />

The Insert Calculated Item dialog box.<br />

NOTE<br />

Note that a calculated item, unlike a calculated field, does not appear in the PivotTable Field<br />

List. Only fields appear in the field list.<br />

If you use a calculated item in your pivot table, you may need to turn off the Grand Total display<br />

for columns to avoid double counting. In this example the Grand Total includes the calculated<br />

items, so the commission amounts are included with the sales amounts. To turn off Grand Totals,<br />

choose PivotTable Tools ➪ Design ➪ Layout ➪ Grand Totals.<br />

CAUTION<br />

After you create the calculated items, they appear in the pivot table. Figure 35.18 shows the pivot table after<br />

adding the four calculated items. Notice that the calculated items are added to the end of the Month items.<br />

You can rearrange the items by selecting the cell and dragging its border. Another option is to create two<br />

groups: One for the sales numbers and one for the commission calculations. Figure 35.19 shows the pivot<br />

table after creating the two groups and adding subtotals.<br />

622

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

Saved successfully!

Ooh no, something went wrong!