ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Productivity
  3. Goal Seek in Excel: Work Backwards to a Target

Goal Seek in Excel: Work Backwards to a Target

By ExcelReady Team·Updated November 2, 2026·6 min read

The short answer

Goal Seek in Excel changes one input cell until a formula cell reaches the value you want. Go to Data > What-If Analysis > Goal Seek, then fill in Set cell (the formula), To value (your target) and By changing cell (the input). It handles one input at a time; use Solver for more.

Key takeaways

  • Goal Seek lives at Data > What-If Analysis > Goal Seek on both Windows and Mac.
  • The Set cell must hold a formula, and the By changing cell must hold a typed value that the formula uses.
  • Goal Seek changes one input only. For several inputs or limits, use the Solver add-in.
  • The answer doesn't update when your data changes. When the maths is simple, a reverse formula is often better.
On this page+
  1. What Goal Seek does
  2. How to use Goal Seek: step by step
  3. Goal Seek with PMT: the loan you can afford
  4. Goal Seek for a profit target
  5. Rules and limits of Goal Seek
  6. Goal Seek or a reverse formula?
  7. Practise it

Goal Seek in Excel works backwards: you tell it the answer you want, and it finds the input that produces it. It's the quickest way to answer questions like "how much growth do we need to hit 60,000?" or "what loan can I afford at 450 a month?" without rearranging any maths yourself. This guide shows how to use it step by step, its limits, and when a simple formula does the same job better.

What Goal Seek does#

Goal Seek changes one input cell until a formula cell shows the value you ask for. It's one of Excel's what-if analysis tools, which let you test "what if this number were different?".

Every Goal Seek needs three things:

Box in the dialogWhat to put thereExample
Set cellThe cell with the formula whose result you care aboutB4 (forecast)
To valueThe result you want, typed as a number60000
By changing cellThe input cell Excel may changeB3 (growth %)

Excel then tries value after value in the input cell, watching the formula cell, until it reaches the target. It shows the result in a Goal Seek Status box, where you choose OK to keep it or Cancel to go back.

How to use Goal Seek: step by step#

Here is a small sales forecast. Current sales are 48,000 and the forecast adds a growth rate:

AB
1ItemValue
2Current sales48,000
3Growth10%
4Forecast=B2*(1+B3) → 52,800
5Target60,000

Your manager wants 60,000. What growth rate gets you there?

  1. Go to Data > What-If Analysis > Goal Seek. In Windows Excel, What-If Analysis is in the Forecast group. The path is the same in Excel for Mac.
  2. In Set cell, enter B4, the forecast formula.
  3. In To value, type 60000. This box takes a number, not a cell reference.
  4. In By changing cell, enter B3, the growth rate.
  5. Click OK. Excel reports that it found a solution, and B3 now shows 25%.
  6. Click OK to keep the new value, or Cancel to restore 10%.

You can check the answer yourself: 48,000 × 1.25 = 60,000. Going from 48,000 to 60,000 is a 25% increase, the same percent change formula covered in the percent change lesson.

Goal Seek with PMT: the loan you can afford#

Goal Seek shines when the formula is hard to rearrange, such as a loan payment. Set up the inputs:

AB
1Annual rate6%
2Months60
3Loan amount20,000
4Monthly payment=PMT(B1/12,B2,-B3) → 386.66

You can pay 450 a month. How much can you borrow?

  1. Open Data > What-If Analysis > Goal Seek.
  2. Set cell B4, To value 450, By changing cell B3.
  3. Click OK.

B3 becomes about 23,276.50. The minus sign before B3 in the PMT formula makes the payment show as a positive number; the guide to the PMT function explains why. To see how that loan is paid off month by month, build a loan amortization schedule.

Excel also has a function that answers this directly: =PV(B1/12,B2,-450) returns the same 23,276.50. PV is the reverse of PMT, so for loans you often don't need Goal Seek at all. For savings, the same idea finds the monthly amount for a goal; see the savings goal calculator.

Goal Seek for a profit target#

Goal Seek also finds the price you need for a profit goal. Say fixed costs are 12,000, each unit costs 18 to make, and you expect to sell 1,500 units:

Excel formula
=B3*(B4-B2)-B1

Here B1 is fixed costs, B2 the cost per unit, B3 the units and B4 the price. Use Goal Seek with this profit formula as the Set cell, 9000 as the To value and B4 as the By changing cell. Excel returns a price of 32: 1,500 × (32 − 18) − 12,000 = 9,000.

Set the To value to 0 instead and Goal Seek finds the break-even price, 26. The guide to break-even analysis in Excel shows the formula version of this with a full profit table. The same trick works for discounts: set the final price as the target and let Goal Seek find the percentage, or use the direct formulas in how to calculate a discount.

Rules and limits of Goal Seek#

Goal Seek is simple, but it is strict about how the sheet is set up:

  • The Set cell must contain a formula. If it holds a typed number, Goal Seek stops with an error.
  • The By changing cell must contain a value, not a formula. It must also feed into the Set cell, directly or through other formulas. If it doesn't, nothing Goal Seek tries can change the result.
  • One input only. Goal Seek can't change two cells at once, such as price and units together. For that, or for limits like "price no higher than 40", use the Solver add-in (turn it on under the add-ins settings, then find it on the Data tab).
  • The answer is fixed. Goal Seek types a value into the input cell once. If current sales change tomorrow, the growth rate doesn't update. Run it again.
  • The answer may be very close, not exact. Goal Seek stops when it gets near the target, so you may see 24.99999% instead of 25%. Round the result, or retype it.

If you see "Goal Seeking with Cell B4 may not have found a solution", check that the input really feeds the formula, that the target is possible, and try a different starting value. Undo with Ctrl+Z on Windows or ⌘Z on Mac if you clicked OK by mistake.

Goal Seek or a reverse formula?#

When you can rearrange the maths, a formula is usually the better choice, because it updates by itself. The sales example is easy to reverse:

Excel formula
=B5/B2-1

Target divided by current sales, minus 1, gives 25%, and it changes the moment B2 or B5 changes. Use this rule of thumb:

SituationBetter tool
Simple maths (growth, markup, price for a profit)A reverse formula
A financial function like PMT, RATE or NPERA matching function (PV, NPER, RATE) or Goal Seek
A long chain of formulas across a modelGoal Seek
Several inputs or limitsSolver
A one-off question in a meetingGoal Seek

Being able to explain both is a good sign in a job test: Goal Seek shows you know Excel's tools, and the formula shows you understand the numbers. Budget questions like these come up often, which is why the budget maths lesson practises them.

Practise it#

Try the exercise on this page: work out the growth rate Goal Seek would find, using one formula. Then practise percent change in a live spreadsheet and work through budget maths step by step. You type each formula, and ExcelReady checks it instantly.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Goal Seek would find the growth rate in B3 that makes the forecast in B4 equal the target in B5. Work it out with a formula instead. In B6, type =B5/B2-1 and press Enter.

fx
ABCD
1
Item
Value
2
Current sales
48000
3
Growth
0.1
4
Forecast
52800
5
Target
60000
6
Growth needed
7
8
9

Tip: The target divided by current sales is 1.25. Subtract 1 to get the growth: 0.25, which is 25%.

Practise this in a lesson

LessonPractice: department budgetCombine SUM, AVERAGE, ROUND and absolute references in a realistic budget sheet.LessonPercentages and % changeCalculate percent change with (new - old) / old, format it as a percentage, and grow a number by a percent.

Frequently asked questions

Where is Goal Seek in Excel?

+

On the Data tab, click What-If Analysis, then Goal Seek. In Windows Excel it sits in the Forecast group. The path is the same in Excel for Mac.

Why does Goal Seek say it may not have found a solution?

+

The target may be impossible with the formula you have, the By changing cell may not feed into the Set cell, or the starting value may be too far away. Check the link between the cells and try a different starting value.

Can Goal Seek change more than one cell?

+

No. Goal Seek changes exactly one input cell. To change several inputs at once, or to add limits such as a maximum budget, use the Solver add-in.

Does Goal Seek update automatically?

+

No. It types a fixed value into the input cell once. If your other inputs change later, run Goal Seek again, or replace it with a formula that calculates the answer directly.

How do I undo Goal Seek?

+

Click Cancel in the Goal Seek Status box to keep the original value. If you already clicked OK, press Ctrl+Z on Windows or Command+Z on Mac to undo the change.

Sources

  • PMT function - Microsoft Support
  • PV function - Microsoft Support
  • Calculate percentages - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What Goal Seek does
  2. How to use Goal Seek: step by step
  3. Goal Seek with PMT: the loan you can afford
  4. Goal Seek for a profit target
  5. Rules and limits of Goal Seek
  6. Goal Seek or a reverse formula?
  7. Practise it

Keep reading

Projects· 7 min read

Break-Even Analysis in Excel, Step by Step

For a break-even analysis in Excel, put fixed costs, price per unit and variable cost per unit in three cells. Break-even units = fixed costs / (price - variable cost), for example =B1/(B2-B3). Wrap it in ROUNDUP for whole units, then multiply by the price for break-even revenue. A profit table shows profit at each sales level.

Math· 6 min read

PMT Function in Excel: Calculate a Loan Payment

PMT returns the regular payment for a loan with a fixed interest rate. Write =PMT(rate, nper, pv): the interest rate per period, the number of payments and the loan amount. For a 20,000 loan at 6% a year over 5 years, paid monthly, =PMT(6%/12,5*12,20000) returns -386.66. The minus sign means money you pay out.

Projects· 6 min read

Build a Savings Goal Calculator in Excel

A savings calculator in Excel needs three inputs: your goal, what you've saved so far and the months left. The monthly amount is =ROUNDUP((Goal-Saved)/Months,2). Use ROUNDUP, not ROUND, so you never end up a few cents short. Progress is =Saved/Goal formatted as a percentage, and PMT handles savings that earn interest.

More on productivity

  • How to Group Rows and Columns in Excel (Outline)
  • Hide and Unhide Rows and Columns in Excel
  • How to Import a CSV File Into Excel Without Breaking It
  • How to Import Data From a Website Into Excel
  • Shortcut to Insert Today's Date and Time in Excel
  • How to Insert Multiple Rows in Excel at Once
All productivity articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free