How to use Goal Seek in Excel (solve for an input)
In Excel for Microsoft 365 / Excel 2021–2024 (verified 2026-10-24), go to Data > What-If Analysis > Goal Seek, set the formula cell, the target value, and the input cell Excel may change, then click OK.
Goal Seek is for one variable. For multiple inputs, use Solver (add-in) or try values manually.
Applies to Excel for Microsoft 365, Excel 2021/2024 and Excel for Mac (Data tab). Excel for the web does not include Goal Seek — use desktop. You need a formula that depends on the input cell.
Back-solve one input
Prepare the model
- Put the adjustable input in its own cell (e.g. interest rate or price).
- Write a formula that depends on that input (payment, profit, break-even).
- Note the target you want the formula to equal.
Run Goal Seek
- Data > What-If Analysis > Goal Seek.
- Set cell: the formula cell. To value: your target. By changing cell: the input.
- Click OK and accept or restore the previous value.
Check the result
- Confirm the formula now equals the target (within rounding).
- If Goal Seek fails, the target may be impossible with that input alone.
- Document the found input so you can undo later if needed.
Our take: great for break-even
Goal Seek shines for “what price hits $0 profit?” or “what rate hits this payment?” Keep inputs and formulas on one sheet so the dialog stays simple. For constraints on several cells, install Solver instead.
If it fails
- What-If Analysis missing: you are on Excel for the web — open the file in desktop Excel.
- Cell must contain a value: the “By changing” cell cannot be a formula.
- May not find a solution: target outside possible range, or discontinuous logic (IF thresholds).
- Need scenarios: use Scenario Manager alongside Goal Seek.
Frequently asked questions
What is Goal Seek in Excel?
A What-If tool that changes one input until a formula hits a value you set.
Goal Seek vs Solver?
Goal Seek = one input; Solver handles many variables and constraints.
Is Goal Seek on Mac?
Yes — under the Data tab’s What-If Analysis.
Does Goal Seek change my sheet permanently?
It writes the found input; you can Undo immediately after.
Can Goal Seek use two inputs?
No — use Solver or run Goal Seek twice with care.