How to Use Excel’s Goal Seek (What-If Analysis) Tool in 2026

·
5 min read

Help Desk Geek is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

Trying to hit a specific loan payment, break-even point, or grade average by manually guessing numbers and re-typing them into a cell? Excel’s Goal Seek does that backward calculation for you: tell it the result you want, and it finds the input that gets you there. It’s been hiding in plain sight under Data → What-If Analysis the whole time.

What Is Goal Seek in Excel?

Goal Seek is a built-in What-If Analysis tool in Microsoft Excel that works backwards from a target result. You tell it the formula cell, the value you want it to reach, and the single input cell it’s allowed to change, and Excel iterates until it finds the answer. It’s still part of modern Excel and Microsoft 365 in 2026, and the core workflow hasn’t changed.

The key limitation worth knowing upfront: Goal Seek only adjusts one input cell. If your problem involves multiple variables or constraints, you’ll want Solver instead (also under Data → What-If Analysis).

How to Use Goal Seek: Mortgage Payment Example

Here’s a practical walkthrough using a mortgage scenario that actually works nicely to show off what Goal Seek can do.

Step 1: Set up your formula

The setup: a $100,000 mortgage, 30-year term, and you want to know the maximum interest rate you can accept while keeping annual payments at or below $6,000.

  1. Open a blank Excel worksheet.
  2. Enter the following values:
    • A2: 0 (yearly interest rate; this is the cell Goal Seek will change)
    • B2: 30 (loan term in years)
    • C2: 100000 (loan amount)
  3. In D2, enter the formula: =PMT(A2,B2,C2)

At 0% interest, D2 will show roughly -$3,333, negative because Excel treats outgoing payments as negative cash flow. That’s your baseline.

The worksheet must show exactly this mortgage example and nothing else: cell A2 contains 0 (yearly interest rate), B2 contains 30 (loan term in years), C2 contains 100000 (loan amount), and D2 shows -$3,333 as the result of the formula =PMT(A2,B2,C2) visible in the formula bar. No Monthly Budget, Personal Budget, or Sales Projection content.

Step 2: Open Goal Seek

  1. Click the Data tab on the Ribbon.
  2. In the Forecast group, click What-If Analysis.
  3. Select Goal Seek from the dropdown menu.
Excel Data tab with What-If Analysis dropdown open and Goal Seek highlighted in the Forecast group

Step 3: Fill in the Goal Seek dialog

The Goal Seek dialog has three fields. Fill them in like this:

  1. Set cell: Click cell D2 (the cell containing your PMT formula). This must be a formula cell. Goal Seek won’t work if you point it at a plain number.
  2. To value: Type -6000. The negative sign matters here. Because Excel treats payments as negative cash flow, your target needs to match that sign.
  3. By changing cell: Click cell A2 (the interest rate). This must be a numeric input cell, not a formula.
  4. Click OK.
The Goal Seek dialog must show exactly: Set cell D2, To value -6000, By changing cell A2. The worksheet behind it shows A2=0, B2=30, C2=100000, D2=-$3,333. Same mortgage example as the article, no other spreadsheet content.

Step 4: Review the result

Excel will flash through iterations, which is normal, and then show a Goal Seek Status dialog confirming it found a solution. Cell A2 should now read approximately 4.31%.

Click OK to keep the result, or Cancel to restore your original values.

platform=windows; view=app; app=excel; description=Goal Seek Status dialog reporting a solution found. Column headers must read exactly: A1 Yearly Interest Rate, B1 Loan Term (Years), C1 Loan Amount, D1 Mortgage Payment (Per Year). Row 2 values: A2 4.31%, B2 30, C2 100000, D2 -$6,000. The Goal Seek Status dialog must say Goal Seeking with Cell D2 found a solution, Target value -6000, Current value -$6,000. Do not use the words Monthly or Number of Payments anywhere.

That result tells you: to keep annual payments on a 30-year, $100,000 mortgage at or below $6,000, you need an interest rate no higher than 4.31%. From there, you can swap in different loan amounts or terms and re-run Goal Seek to explore your options.

When Goal Seek Doesn’t Work

Goal Seek is reliable for straightforward models, but a few things can trip it up.

Fix #1: Check that your Set cell is actually a formula

If Goal Seek reports “Goal Seeking with Cell D2 may not have found a solution,” the first thing to verify is that the Set cell contains a formula, not a hardcoded number. Click the cell and check the formula bar.

Fix #2: Disable add-ins and try again

Add-ins are the most common cause of Goal Seek suddenly failing on a workbook that used to work fine.

  1. Click FileOptionsAdd-ins.
  2. At the bottom, set the Manage dropdown to Excel Add-ins and click Go.
  3. Uncheck all active add-ins and click OK.
  4. Re-run Goal Seek and see if it resolves.

If that fixes it, re-enable add-ins one at a time to identify the culprit.

Fix #3: Check your calculation mode

Goal Seek requires Excel to calculate automatically. If calculation is set to manual, Goal Seek can’t iterate correctly.

  1. Click FileOptionsFormulas.
  2. Under Calculation options, make sure Automatic is selected.
  3. Click OK and retry Goal Seek.

Fix #4: Use Solver for multi-variable problems

If Goal Seek can’t find a solution because your model depends on more than one changing input, Goal Seek is simply the wrong tool. Open Data → What-If Analysis → Solver to set multiple variable cells, add constraints, and find an optimized answer. Solver is built into Excel, though you may need to enable it under File → Options → Add-ins → Solver Add-in.

Goal Seek vs. Solver: Which One Do You Need?

ScenarioUse Goal SeekUse Solver
One unknown input, one target value
Multiple unknown inputs
Constraints on the result (min/max)
Quick reverse calculation
Optimization problems

A Note on Goal Seek’s Accuracy

Goal Seek uses an iterative search, not an algebraic solver, so its result is an approximation that depends on your starting value and model structure. For most financial and planning models, the result is accurate enough to be useful. But if your formula is nonlinear, highly sensitive, or circular, Goal Seek may return an unexpected answer or fail entirely. In those cases, restructure the model to remove circular references first, then retry.

Conclusion

For single-variable reverse calculations, Goal Seek is genuinely one of the most underrated tools in Excel. It’s the kind of thing that makes you wonder why you ever manually guessed at inputs. The mortgage example above is just a starting point; the same technique works for break-even analysis, pricing models, grade calculations, and anything else where you know the result you want and need to find the input that gets you there. If you need to go deeper with your data, the Quick Analysis Tool in Microsoft Excel is another underrated feature worth exploring, and if you hit a wall with Goal Seek, Solver is the natural next step and it lives right next door in the same menu. For more complex financial modeling, you can also calculate a loan in Microsoft Excel using dedicated templates and formulas alongside Goal Seek.