Use Excel Goal Seek to reverse-engineer the input for a desired result

When you know the result you want but not the input that produces it, Excel’s Goal Seek changes one cell automatically until a formula reaches a target value. Use it to find needed sales volume, interest rates, prices, or any single unknown in a linked formula.

What the video covers

Single-variable what-if analysis in Excel (find the one input that makes a formula equal a specified value). Not for multi-variable optimization (use Solver for that).

Watch the video on YouTube

Step-by-step instructions

  1. Confirm the formula link
    Make sure the cell you want to set to a target value contains a formula that depends on the single input cell you want changed. If the formula does not refer to that input (directly or through other formulas), Goal Seek cannot find a solution.
  2. Open Goal Seek
    On the ribbon, open the Data tab, choose What-If Analysis, then select Goal Seek (the Goal Seek dialog will appear).
  3. Fill the three fields
    In the Goal Seek dialog set: • Set cell: the cell that contains the formula you want to reach the target value. • To value: type the exact numeric result you want that formula to show. • By changing cell: the single input cell Excel should adjust to hit the target.
  4. Run the calculation
    Click OK to let Excel iterate. Excel will perform rapid calculation loops and then report whether it found a solution and show the adjusted input value in the sheet.
  5. Accept or preview without change
    If you want to keep the new input value, click OK (Excel will leave the adjusted value in your worksheet). If you only wanted to preview the answer and restore your original data, click Cancel to revert the input to its prior value.
  6. Use Solver if needed
    If your scenario requires changing multiple inputs at once or applying constraints, switch to the Solver add-in (found in the Data tab). Goal Seek only solves for a single variable.

Watch the video

Video thumbnail for Use Excel Goal Seek to reverse-engineer the input for a desired result Play tutorial

Watch on YouTube

Why it matters

Goal Seek saves time and avoids guesswork when you know the desired outcome but not the necessary input. It iterates automatically until the formula in the target cell equals your specified value.

Check your result

After Goal Seek finishes, verify the target cell equals the value you requested (or is as close as Excel reports). Confirm the changed input cell value is realistic and that the formula still links correctly to downstream calculations.

Troubleshooting

• If Goal Seek fails, confirm the target cell contains a formula that depends (directly or indirectly) on the input cell you told Goal Seek to change. If there’s no mathematical link, Goal Seek cannot work. • If the solution seems implausible, check for locked cells, circular references, or formula errors. • Need to test without losing original inputs? Use Cancel in the Goal Seek dialog to restore original values after previewing the result. • If you must adjust two or more inputs at once (for example, cost and volume together), use the Solver add-in instead of Goal Seek.