11.08.2013 Views

Excel's Formula - sisman

Excel's Formula - sisman

Excel's Formula - sisman

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

506<br />

Part V: Miscellaneous <strong>Formula</strong> Techniques<br />

The formulas that you develop can also use worksheet functions, but the functions can’t<br />

refer to cells or named ranges.<br />

Inserting a calculated item<br />

The preceding section describes how to create a calculated field. Excel also enables you to create<br />

a calculated item for a pivot table field. Keep in mind that a calculated field can be an alternative<br />

to adding a new field to your data source. A calculated item, on the other hand, is an alternative<br />

to adding new rows to the data source — rows that contain formulas that refer to other rows.<br />

In this example, you create four calculated items. Each item represents the commission earned on<br />

the quarter’s sales, according to the following schedule:<br />

Quarter 1: 10% of January, February, and March sales<br />

Quarter 2: 11% of April, May, and June sales<br />

Quarter 3: 12% of July, August, and September sales<br />

Quarter 4: 12.5% of October, November, and December sales<br />

Modifying the source data to obtain this information would require inserting 16 new<br />

rows, each with formulas. So, for this example, creating four calculated items may be<br />

an easier task.<br />

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

these steps:<br />

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

Tools➜Options➜Calculations➜Fields, Items, & Sets➜Calculated Item. Excel displays the<br />

Insert Calculated Item dialog box.<br />

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

box (see Figure 18-35).<br />

The formula can use items in other fields, but it can’t use worksheet functions. For this<br />

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

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

3. Click Add.

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

Saved successfully!

Ooh no, something went wrong!