How to Use Goal Seek in Excel: Step-by-Step Tutorial, Examples, and Limits
Learn how to use Goal Seek in Excel with step-by-step examples for loans, sales targets, and break-even. Plus common errors and limits.

Goal Seek is the answer to a question most spreadsheet users ask sooner or later: "I know the result I want — what input gets me there?" Instead of guessing values until a formula returns the right number, you tell Excel the target, point it at the cell that needs to change, and let the engine iterate until it lands on the right input.
It lives quietly inside the What-If Analysis menu on the Data tab. Most beginners walk past it for years. That is a shame, because the moment you understand Goal Seek, a long list of "let me try a different number" problems collapses into a three-field dialog box. Loan payments, profit targets, break-even points, grade calculations, pricing scenarios — all of them get easier.
This guide walks through every part of the feature: where it sits, the exact steps to run it, four real examples you can copy, the limits you need to know about, and what to do when Excel says Goal Seek did not find a solution. By the end you will be comfortable enough to reach for it without thinking.
Goal Seek at a Glance
What Is Goal Seek and When Do You Use It?
Goal Seek is a single-variable solver built into Excel. Give it three things — a formula cell that holds your output, the number you want that formula to produce, and one input cell it is allowed to change — and it works backward until the output matches your target. That is the entire mental model.
Compare it to how you would normally use a spreadsheet. Forward-direction thinking sounds like "if I sell 200 units at $40 each my revenue is $8,000." Goal Seek flips that around: "I need $10,000 in revenue and my price is fixed at $40, so how many units must I sell?" Same formula, different question.
You will reach for it whenever the answer matters more than the input. Some common moments:
- A loan calculator already shows your monthly payment, but you want to know the maximum loan amount your budget allows.
- A pricing model returns gross margin, but you want to find the unit price that hits a 35% margin.
- A student's grade workbook computes a weighted average, but you want to know what final exam score guarantees an A.
- A profit-and-loss sheet shows net income, but you want the sales volume that reaches break-even.
If those questions feel familiar, you have been doing Goal Seek by hand. The feature just automates the trial and error. Curious how Excel pulls this off so quickly? It uses a numerical method called the secant method behind the scenes, similar to other iterative solvers. You do not need the math, but it helps to know the answer is approximated, not derived algebraically. That distinction matters for the limits section later.

When to Reach for Goal Seek
- ✓You know the monthly payment you can afford and need to find the loan amount
- ✓You have a target margin and need to find the unit price that delivers it
- ✓You need a final exam score that produces a specific overall grade average
- ✓You know required net income and need to find the sales volume that delivers it
- ✓You have a savings target and need to find the contribution amount that reaches it on time
- ✓You need to find a break-even point where profit equals exactly zero
Where to Find Goal Seek in Excel
Goal Seek lives in the same place across every modern desktop version of Excel — 2016, 2019, 2021, Microsoft 365, and the standalone 2024 release. The path is:
Data tab → Forecast group → What-If Analysis → Goal Seek
On smaller screens the Forecast group sometimes collapses into a single icon. Click it and the dropdown reveals What-If Analysis. Inside that dropdown you will see three options: Scenario Manager, Goal Seek, and Data Table. Goal Seek is the middle one.
Mac users follow the same path. The icons are smaller on macOS and the Forecast group may sit further to the right, but the menu structure is identical. Excel for the web does not include Goal Seek — if you only have a browser, you need the desktop app or a workaround using Solver Online add-ins, which are not as reliable.
A faster route: press Alt, then A, then W, then G. That keystroke chain pops the dialog without touching the mouse. Most analysts who use Goal Seek daily memorize this combination within a week.
You should see three input fields when the dialog opens:
- Set cell — the cell containing your formula (the output you care about).
- To value — the number you want that formula to equal.
- By changing cell — the single input cell Excel is allowed to modify.
Three fields. That is the whole interface. The simplicity is the point.
Keyboard shortcut
Press Alt → A → W → G on Windows to open Goal Seek without touching the mouse. On Mac, there is no direct shortcut — use the Data tab menu. Memorizing this chain saves a few seconds every time and adds up across a busy day.
Step-by-Step: Using Goal Seek for the First Time
Let us walk through a basic example. Imagine you sell handmade candles at $24 each. You have $1,200 in monthly fixed costs and your variable cost per candle is $9. Profit equals revenue minus total costs. Build the sheet first:
- Cell B1: Price per unit → 24
- Cell B2: Variable cost per unit → 9
- Cell B3: Fixed costs → 1200
- Cell B4: Units sold → 100 (starting guess)
- Cell B5: Profit → =B4*(B1-B2)-B3
With 100 units, B5 shows $300 profit. Now you want $2,000 in monthly profit. How many candles must you sell? Rather than typing 110, 130, 150 until you see $2,000, open Goal Seek.
Click on B5 first — selecting the output cell beforehand pre-fills the dialog. Then go to Data → What-If Analysis → Goal Seek. The three fields populate:
- Set cell: B5 (already filled)
- To value: Type 2000
- By changing cell: Click B4 (units sold)
Hit OK. Within a fraction of a second a small dialog appears: Goal Seek found a solution. Target value: 2000. Current value: 2000. Cell B4 now reads 213.333, and B5 reads exactly 2000. You need roughly 214 candles a month to hit that profit goal.
Two buttons appear in the result dialog. OK keeps the new values in your sheet. Cancel reverts both cells back to where they were. Always think before clicking OK — Goal Seek overwrites your input cell permanently when you accept the result. If you wanted to preserve the original 100, hit Cancel and write the answer down somewhere else first.
That is the complete workflow. Set cell, To value, By changing cell, OK. Once you have done it twice it stops feeling like a feature and starts feeling like a reflex.
The Three Goal Seek Fields
The formula cell that holds your output. Goal Seek reads this but never writes to it. Selecting it before opening the dialog pre-fills the field.
The exact number you want the Set cell to equal. Type it as a plain number — no equals sign, no formula, no cell reference.
The single input cell Goal Seek is allowed to modify. It must contain a hard-coded value, not a formula, and your Set cell formula must depend on it.

Four Real-World Goal Seek Examples
Example 1: Find the Loan Amount Your Budget Allows
You can afford $850 a month for a car loan. The dealer offers 6.5% APR over 60 months. What loan amount lands exactly on $850 a month? Build it:
- B1: Loan amount → 25000 (starting guess)
- B2: Annual rate → 0.065
- B3: Term (months) → 60
- B4: Monthly payment → =PMT(B2/12, B3, -B1)
Run Goal Seek on B4, target 850, changing B1. Excel returns $43,479.62. That is the ceiling — borrow more and your payment exceeds budget. Less and you have wiggle room. The PMT function works with Goal Seek beautifully because both rely on the same underlying math.
Example 2: Hit a Specific Grade Average
A student has scores of 78, 82, 91, and 86 on four assignments. The final exam counts for 25% of the grade. The other four assignments split the remaining 75% equally. What does the final need to be for an overall 88?
- B1: Assignment 1 → 78
- B2: Assignment 2 → 82
- B3: Assignment 3 → 91
- B4: Assignment 4 → 86
- B5: Final exam → 85 (starting guess)
- B6: Final grade → =AVERAGE(B1:B4)*0.75 + B5*0.25
Goal Seek on B6, target 88, changing B5. The answer comes back at 96.25. The student needs a 96.25 on the final to land exactly on an 88 overall. That is the kind of answer mental math gives you a headache about; Goal Seek hands it over in under a second.
Example 3: Find a Break-Even Price
You run a small print shop. Each poster costs $4.20 to produce, you have $850 in monthly overhead, and you expect to sell 200 posters. What price gets you to zero profit (break-even)?
- B1: Price → 10 (guess)
- B2: Variable cost → 4.20
- B3: Fixed costs → 850
- B4: Units → 200
- B5: Profit → =B4*(B1-B2)-B3
Set cell B5, to value 0, changing B1. Excel returns $8.45. Anything above that is profit. That single number drives every pricing decision after it.
Example 4: Solve for an Interest Rate
You are saving for a down payment. You start with $15,000, plan to add $400 a month, and need $35,000 in 36 months. What annual return rate gets you there?
- B1: Starting balance → 15000
- B2: Monthly deposit → 400
- B3: Months → 36
- B4: Annual rate → 0.04 (guess)
- B5: Final balance → =FV(B4/12, B3, -B2, -B1)
Run Goal Seek on B5, target 35000, changing B4. Excel returns roughly 0.0431 — a 4.31% annual return. Now you know whether a high-yield savings account at 4.5% APY does the job, or whether you need to take on more risk in an index fund.
Quick Recap of the Four Examples
PMT formula in B4, monthly payment as target, loan amount as input. Goal Seek finds the maximum loan that fits your monthly budget. Works with any APR and term length.
Clicking OK in the result dialog permanently replaces your starting value with the calculated answer. If you want to keep the original, click Cancel after noting the result, or copy your input cell to a safe location before running Goal Seek.
The Limits Every User Should Know
Goal Seek is fast and forgiving, but it is not magic. Four limitations decide whether it works for your problem:
One input cell only. Goal Seek solves for exactly one variable. If your model has two unknowns — say price and units sold — you cannot use it directly. For multi-variable problems, switch to Solver, which ships as an Excel add-in and handles dozens of variables and constraints. Goal Seek is for the simple single-variable cases that come up daily; Solver is for the harder optimization problems that come up monthly.
The input cell must contain a value, not a formula. If your "By changing cell" is itself a formula like =B2*1.1, Goal Seek refuses to overwrite it. The cell has to be a hard-coded number or empty. Many users get tripped up here on the first try.
The relationship must be continuous and monotonic in practice. Goal Seek uses numerical iteration. It works well when the formula changes smoothly as the input changes. Step functions, IF statements with sharp boundaries, and lookups that snap between values often cause it to fail. The dialog will say Goal Seek may not have found a solution and your input cell will end up at some odd intermediate number.
Precision and iteration limits. Goal Seek stops when it gets within 0.001 of the target, or after 100 iterations — whichever comes first. You can tighten both limits in File → Options → Formulas → Calculation options → Maximum Change. Drop it to 0.0000001 if you need more decimal places. For financial work the default is usually fine; for engineering and scientific work you sometimes need the tighter setting.
There is also a more subtle limitation: Goal Seek finds a solution, not necessarily the right one. If your formula has two valid inputs that produce the same output (think quadratic equations), Goal Seek lands on whichever one is closer to your starting guess. To find the other root, change your starting value to a number on the other side of zero and run Goal Seek again. This is the same intuition you would use with the INDIRECT function when you need to reference different ranges dynamically — start point matters.
Goal Seek Pros and Cons
- +Free, built into every desktop Excel since 2007
- +Solves single-variable backward problems in under a second
- +Three-field interface anyone can learn in five minutes
- +Works with any formula, including PMT, FV, IRR, and custom math
- +Combines well with VBA for batch processing across many rows
- −Limited to one variable — multi-variable problems need Solver
- −Cannot run in Excel for the web (browser-only users miss out)
- −Overwrites the input cell with no automatic undo prompt
- −Struggles with flat-spot formulas and step functions
- −May land on the wrong root for formulas with multiple valid solutions

"Goal Seek Did Not Find a Solution" — Why and How to Fix
You will see this message eventually. It does not mean Goal Seek is broken; it means the iteration ran out of road before reaching your target. Five causes account for almost every occurrence:
No solution exists. The target you typed may simply be impossible. If your formula computes maximum 100 and you ask for 150, no input value will get you there. Sanity-check the math before blaming Goal Seek. Plug in a wildly large and a wildly small value manually to see the formula's actual range.
Starting value is too far from the answer. Goal Seek follows the slope of your formula from the current input toward the target. If the slope flattens near your starting point, the algorithm wanders without making progress. Set the input cell to a more reasonable initial guess and try again. For loan amounts, start with a number in the right order of magnitude; for percentages, start with 0.05 or 0.10 rather than 1.
Circular references. If your formula references itself directly or indirectly, Goal Seek cannot iterate cleanly. Excel's status bar shows "Circular References" in the bottom left when this happens. Trace the chain with Formulas → Show Formulas and untangle the loop.
The formula has a flat spot. If your output stays constant across a wide range of inputs (because of a MIN, MAX, or IF clamp), Goal Seek thinks it has reached convergence prematurely. Restructure the formula or move the clamp logic out of the critical path.
Iteration limit too low. For unusually nonlinear formulas — option pricing, IRR-style cash flows, polynomial relationships — 100 iterations may not be enough. Open File → Options → Formulas and raise Maximum Iterations to 1,000. Combined with a tighter Maximum Change, this fixes most stubborn cases.
When all else fails, do the iteration yourself. Type a value, see the result, adjust, repeat. Three or four rounds usually get you close. Then run Goal Seek from that better starting point and let it polish the answer. Manual narrowing plus automated finishing is the experienced analyst's habit.
Troubleshooting Checklist
- ✓Confirm the target value is actually reachable given your formula's range
- ✓Move your starting input value closer to a reasonable guess
- ✓Verify there are no circular references in the status bar
- ✓Make sure the changing cell contains a number, not a formula
- ✓Raise iteration limit and tighten precision in File → Options → Formulas
- ✓Restructure formulas that contain MIN, MAX, or IF clamps
- ✓Try a manual approximation first, then let Goal Seek finish the job
Tips From Daily Goal Seek Users
The dialog box is simple, but a few habits separate occasional users from people who reach for it instinctively:
Save before you click OK. Goal Seek overwrites your input cell. If you accept a result and then realize you wanted to compare it against the original, the only way back is Ctrl+Z. Save the workbook first — or better, paste a copy of the input cell elsewhere — so you have a rollback.
Use named ranges for clarity. Instead of "Set cell B5, By changing cell B4," name them Profit and Units in the Name Box. The Goal Seek dialog accepts names and your workbook becomes self-documenting. Anyone opening it six months later sees "Set Profit to 2000 by changing Units" — a sentence instead of a coordinate puzzle.
Combine with data tables for sensitivity analysis. Goal Seek answers one question at a time. If you want to see how the answer changes across many scenarios (different rates, different prices, different terms), build a Data Table and reference the Goal Seek output. The two features sit next to each other in the What-If menu for a reason.
Goal Seek does not record a macro the way other features do. If you need to run it repeatedly across many rows, write a VBA loop using Range.GoalSeek instead. Reference the Excel VBA guide if you have never written a macro before. The syntax is one line: Range("B5").GoalSeek Goal:=2000, ChangingCell:=Range("B4").
Always double-check the result with a forward calculation. Goal Seek's answer can drift slightly from a perfect match because of the 0.001 tolerance. After the dialog closes, look at the output cell. If it shows 1999.9997 instead of 2000, decide whether that matters. For dollar amounts in budgeting, it usually does not. For engineering tolerances, it might.
One last habit: when you teach Goal Seek to a colleague, walk them through the loan example first. It is the most common real-world use case, the math is obvious, and the result is immediately useful. Within five minutes they will be running it on their own spreadsheets without prompting.
Goal Seek answers one question at a time. When you need to see how the answer shifts across many scenarios — different rates, terms, prices — build a Data Table next to your Goal Seek setup. Both features live under the same What-If Analysis menu, and together they turn single-point answers into full sensitivity analyses.
Practice What You Learned
Reading a tutorial gets you to about 40% retention. The other 60% comes from hands-on use. Open a blank workbook right now and rebuild the candle profit example from memory — no peeking at the steps above. If you can do it in under three minutes, you understand the feature. If you stumble, repeat it three times until the dialog stops feeling foreign.
Once you are comfortable, our practice tests cover Goal Seek alongside Solver, Scenario Manager, and the rest of Excel's data analysis tools. Working through scored questions reinforces the difference between when to use Goal Seek versus when to switch to Solver, which is the single most common mistake intermediate users make.
If you are preparing for an Excel certification — MOS Expert, the Excel Associate exam, or a job-screening assessment — Goal Seek shows up regularly in the data-analysis section. Build it into your study rotation. The questions are usually short and easy points, provided you have run the dialog at least a dozen times yourself. For deeper preparation, our Excel cheat sheet collects the formulas, shortcuts, and quick references most often tested.
Excel Questions and Answers
About the Author
Attorney & Bar Exam Preparation Specialist
Yale Law SchoolJames R. Hargrove is a practicing attorney and legal educator with a Juris Doctor from Yale Law School and an LLM in Constitutional Law. With over a decade of experience coaching bar exam candidates across multiple jurisdictions, he specializes in MBE strategy, state-specific essay preparation, and multistate performance test techniques.