Sub topic 5
How the Search Works: Iteration, Tolerance, and Approximate Answers
What Goal Seek is searching for
This chapter assumes you know Excel cell references, formulas, and basic financial model terms such as revenue, cost, and profit. It also assumes you can separate hardcoded inputs from calculated outputs.
A normal spreadsheet performs a forward calculation. You enter units sold, and the model calculates revenue and profit. Goal Seek works backward. It changes one input, recalculates the model, and checks whether the output has reached a target.
For example, suppose profit is calculated as:
Profit = Units × (Price - Variable cost) - Fixed costs
If the target profit is zero, Goal Seek searches for the units value that makes the formula return zero.
Goal Seek does not rearrange the formula like algebra. It uses repeated trial values.
The iteration cycle
An iteration is one search attempt. During each attempt, Goal Seek follows a cycle:
- Read the current value in the changing cell.
- Recalculate the formula in the target cell.
- Compare the result with the requested target.
- Choose another value for the changing cell.
- Repeat until the result is close enough or the search cannot continue.
The changing cell must normally be a value, not a formula. The target cell must contain a formula that depends on that value, either directly or through other formulas.
The exact search steps are controlled by Excel. You should therefore treat the result as a numerical solution, not as a symbolic proof that the formula has an exact answer.
Tolerance and approximate answers
Tolerance is the allowed difference between the calculated result and the target. A result of 0.02 may be acceptable when the target is 0 and the model is measured in millions. The same difference may be unacceptable when the target is an exact cash balance in dollars.
Goal Seek may display a success message even though the target cell is not mathematically identical to the target. Always inspect the final difference:
Difference = Actual result - Target
The size of an acceptable difference depends on the model. Define that standard before accepting the answer.
| Model output | Possible acceptance check |
|---|---|
| Break-even profit | Absolute profit is less than a chosen currency tolerance |
| Loan payment | Payment error is less than one cent |
| Required return | Absolute percentage-point error is below a chosen threshold |
A small displayed difference can also hide a larger underlying error if the cell is formatted to show too few decimal places. Increase the displayed precision before reviewing the result.
> callout note > Goal Seek finds a value that is close to the target under the current model settings. It does not confirm that the result is economically sensible, unique, or based on reliable inputs.
Why the search can struggle
Goal Seek works best when changing the input produces a fairly smooth output. It can struggle when the formula contains:
- Discontinuities, such as IF statements that switch between unrelated calculations.
- Rounding that creates flat regions or sudden jumps.
- Errors, blank values, or invalid financial assumptions.
- Multiple possible inputs that produce the same target.
- A target outside the achievable range.
- A changing cell with practical limits that were not modeled.
For example, a tax formula may jump when income crosses a bracket boundary. The output can change suddenly rather than gradually. Goal Seek may stop at a nearby value, miss another solution, or fail to find a solution.
Validating an approximate solution
After Goal Seek finishes, perform independent checks:
- Confirm the changing cell contains a value and not an accidental formula.
- Recalculate the target cell and record its unrounded value.
- Compare the result with the agreed tolerance.
- Check business constraints, such as nonnegative units or realistic growth.
- Test a slightly higher and lower input to understand sensitivity.
- Save the original assumptions before accepting the new value.
A numerical answer is useful only when it also satisfies the model's business rules.
Exercise
Goal Seek returns 749.9996 units for a break-even target of zero profit. The model reports profit of 0.008 currency units. Is the answer automatically correct?
Show answer
No. Check the model's required tolerance, increase display precision, and confirm that fractional units are allowed. If units must be whole numbers, test the nearby integers and choose the one that meets the business rule.