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.

Chapter 9: Tables and Worksheet Databases 253<br />

This workbook, named table formulas.xlsx, is available on the companion<br />

CD-ROM.<br />

1. Activate cell E2 and type Difference for the column header.<br />

Excel automatically expands the table to include a new column.<br />

2. Move to cell E3 and type an equal sign to signify the beginning of a formula.<br />

3. Press ←, and Excel displays =[@Actual], which is the column heading in the <strong>Formula</strong> bar.<br />

4. Type a minus sign and then press ← twice. Excel displays =[@Actual]–[@Projected] in<br />

your formula.<br />

5. Press Enter to end the formula.<br />

Excel copies the formula to all rows in the table.<br />

Figure 9-12 shows the table with the new column.<br />

Figure 9-12: The Difference column contains a formula.<br />

If you examine the table, you’ll find this formula for all cells in the Difference column:<br />

=[@Actual]–[@Projected]<br />

The “at” symbol (@) that precedes the column header represents “this row” (the row<br />

that contains the formula).<br />

Keep in mind that I didn’t define any names in this worksheet. The formula uses table references<br />

that are based on the column names. If you change the text in a column header, any formulas<br />

that refer to that data update automatically.

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

Saved successfully!

Ooh no, something went wrong!