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.

Analyzing Data Using Goal Seek and Solver 37<br />

Next, choose Data ➪ Data Tools ➪ What-If Analysis ➪ Goal Seek. Excel displays the Goal Seek dialog box,<br />

shown in Figure 37.2. Completing this dialog box is similar to forming a sentence. You want to set cell C11<br />

to 1800 by changing cell C4. Enter this information in the dialog box either by typing the cell references or<br />

by pointing with the mouse. Click OK to begin the goal-seeking process.<br />

FIGURE 37.2<br />

The Goal Seek dialog box.<br />

In less than a second, Excel displays the Goal Seek Status box, which shows the target value and the value<br />

that Excel calculated. In this case, Excel found an exact value. The worksheet now displays the found value<br />

in cell C4 ($284,779). As a result of this value, the monthly payment amount is $1,800. At this point, you<br />

have two options:<br />

n<br />

n<br />

Click OK to replace the original value with the found value.<br />

Click Cancel to restore your worksheet to the form that it had before you chose the Goal Seek<br />

command.<br />

More about Goal Seeking<br />

Excel can’t always find a value that produces the result that you’re seeking. Sometimes, a solution simply<br />

doesn’t exist. In such a case, the Goal Seek Status box informs you of that fact.<br />

Other times, however, Excel may report that it can’t find a solution, but you’re pretty sure that one exists. If<br />

that’s the case, you can try the following options:<br />

n<br />

n<br />

n<br />

Change the current value of the By Changing Cell box in the Goal Seek dialog box to a value that<br />

is closer to the solution and then reissue the command.<br />

Adjust the Maximum iterations setting in the Formulas tab of the Excel Options dialog box<br />

(choose <strong>Office</strong> ➪ Excel Options). Increasing the number of iterations (or calculations) makes<br />

Excel try more possible solutions.<br />

Double-check your logic and make sure that the formula cell does, indeed, depend on the specified<br />

changing cell.<br />

Like all computer programs, Excel has limited precision. To demonstrate this limitation, enter<br />

NOTE<br />

=A1^2 into cell A2. Then, use the Goal Seek dialog box to find the value in cell A1 (which is<br />

empty) that makes the formula return 16. Excel comes up with a value of 4.00002269010434 (you may need<br />

to widen the column to see the complete value), which is close to the square root of 16, but certainly not<br />

exact. You can adjust the precision in the Formulas tab of the Excel Options dialog box (make the Maximum<br />

Change value smaller).<br />

651

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

Saved successfully!

Ooh no, something went wrong!