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.

Creating Formulas for Financial Applications 16<br />

To create this two-way data table, follow these steps:<br />

1. Enter a formula that returns the results that will be used in the data table. In this example,<br />

the formula is in cell B6. The formulas in B7:B8 are not used.<br />

2. Enter various values for the first input in successive columns. In this example, the first input<br />

value is interest rate, and the values for various interest rates appear in C10:I10.<br />

FIGURE 16.8<br />

Using a two-way data table to display payment amounts for various loan amounts and<br />

interest rates.<br />

3. Enter various values for the second input cell in successive rows, to the left and below the<br />

input values for the first input. In this example, the second input value is loan amount, and the<br />

values for various loan amounts are in B11:B16.<br />

4. Create a reference to the formula that will be calculated in the table. This reference goes in<br />

the upper-left corner of the data table range. In this example, cell B10 contains the following<br />

formula:<br />

=B6<br />

5. Select the rectangular range that contains the entries from the previous steps. In this example,<br />

select B10:I16.<br />

6. Choose Data ➪ Data Tools ➪ What-If Analysis ➪ Data Table. Excel displays the Data Table<br />

dialog box.<br />

7. For the Row input cell field, specify the cell reference that corresponds to the first input<br />

cell. In this example, the Row input cell is B2.<br />

8. For the Column input cell field, specify the cell reference that corresponds to the second<br />

input cell. In this example, the Row input cell is B1.<br />

9. Click OK. Excel inserts an array formula that uses the TABLE function with two arguments.<br />

After you create the two-way data table, you can change the calculated cell by changing the cell reference in<br />

the upper-left cell of the data table. In this example, you can change the formula in cell B10 to =B8 so that<br />

the data table displays total interest rather than payment amounts.<br />

TIP<br />

If you create very large data tables, the calculation speed of your workbook may be slowed<br />

down. Excel has a special calculation mode for calculation-intensive data tables. To change the<br />

calculation mode, choose Formulas ➪ Calculation ➪ Calculation Options ➪ Automatic Except For Data<br />

Tables.<br />

301

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

Saved successfully!

Ooh no, something went wrong!