Excel Goal Seek: find the input that gives the result you need (loan example)
Reverse calculation with Goal Seek: how big a loan fits a 3 mln monthly payment? What-If Analysis, Scenario Manager and common traps — with examples.
Normally in Excel you enter inputs and get a result: loan amount, rate and term → monthly payment. In real life, though, the question is often the reverse: “I can pay at most 3 mln a month. How much can I borrow?”
Doing that by hand means trial and error: change the amount, check the result, change it again. Goal Seek does it in a second: you state the result you need, and Excel finds the input that produces it. It lives in the What-If Analysis menu on the Данные tab.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Loan amount | 50 000 000 | ||
| 2 | Annual rate | 24% | ||
| 3 | Term, months | 24 | ||
| 4 | Monthly payment | 2 643 555 | ||
| 5 |
The task
The model is ready: =ПЛТ(B2/12;B3;-B1) in B4 calculates the monthly payment (the annual rate is divided by 12 because payments are monthly; the minus before B1 makes the result positive).
Now the question: what loan amount in B1 makes the payment exactly 3,000,000?
Goal Seek — 4 steps
1
Check: the result cell (B4) holds a formula, and the cell to change (B1) holds a plain number, not a formula.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Loan amount | 50 000 0001 | ||
| 2 | Annual rate | 24% | ||
| 3 | Term, months | 24 | ||
| 4 | Monthly payment | 2 643 5552 | ||
| 5 |
2
On the Данные tab, in the Forecast group, choose What-If Analysis → Goal Seek....
3
Fill in the dialog: Set cell — B4 (the result), To value — 3000000 (the target, a number only), By changing cell — B1 (the cell Excel will adjust). Click OK.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Loan amount | 50 000 000 | ||
| 2 | Annual rate | 24% | ||
| 3 | Term, months | 24 | ||
| 4 | Monthly payment | 2 643 555 | ||
| 5 |
4
Excel finds the answer instantly and shows Goal Seek Status. B1 now holds 56,741,777 — the loan you can take with a 3 mln monthly payment. OK keeps the result, Cancel restores the old value (50 mln).
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Loan amount | 56 741 777 | ||
| 2 | Annual rate | 24% | ||
| 3 | Term, months | 24 | ||
| 4 | Monthly payment | 3 000 000 | ||
| 5 |
How Goal Seek works
Goal Seek doesn’t solve an equation — it iterates: it tries different values in B1, recalculates B4 and gets closer to the target each time. By default it makes up to 100 attempts with a precision of 0.001. That’s why the answer is often “untidy”: 56,741,776.81 is perfectly normal.
Goal Seek handles one variable. To change several cells at once or add constraints (“term no longer than 36 months”), you need the Solver add-in (File → Options → Add-ins → Solver Add-in).
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Loan amount | 50 000 000 | ||
| 2 | Annual rate | 24% | ||
| 3 | Term, months | 35,00 | ||
| 4 | Monthly payment | 2 000 000 | ||
| 5 | ||||
| 6 | If 35 months | 2 000 110 | ||
| 7 | If 36 months | 1 961 643 | ||
| 8 |
Scenario Manager — keep several versions in one file
Three banks made three offers with different rates and terms. Instead of retyping them, use the Scenario Manager: Данные → What-If Analysis → Scenario Manager....
- Click Add..., name the scenario (“Bank A”) and set Changing cells to
B2:B3. - Enter the values for that scenario (0.24 and 24). Repeat for the other banks.
- Select a scenario in the list and click Show — the model recalculates with those values.
- Summary... puts the results of all scenarios side by side on a new sheet. Perfect for your manager.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Loan amount | 50 000 000 | ||
| 2 | Annual rate | 22% | ||
| 3 | Term, months | 36 | ||
| 4 | Monthly payment | 1 909 523 | ||
| 5 |
Pro level: sensitivity table and break-even point
Sensitivity table. Goal Seek gives one answer. To see many options at once, list the terms in a column and fill =ПЛТ($B$2/12;A5;-$B$1) next to them (see below). What-If Analysis → Data Table does the same thing — it calculates the whole grid from one model without writing separate formulas.
Break-even point. The profit formula: =B1*(B2-B3)-B4 (quantity × (price − unit cost) − fixed costs). In Goal Seek set the profit cell to 0 by changing the quantity. The answer: how many units you must sell to break even.
Pro tip: don’t “bake” the Goal Seek result into the model. Add a helper cell, store the value Goal Seek found there and keep the original input — so the model can always be audited.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Loan amount | 50 000 000 | ||
| 2 | Annual rate | 24% | ||
| 3 | ||||
| 4 | Term, months | Monthly payment | Total paid | |
| 5 | 12 | 4 727 980 | 56 735 758 | |
| 6 | 24 | 2 643 555 | 63 445 317 | |
| 7 | 36 | 1 961 643 | 70 619 135 | |
| 8 | 48 | 1 630 092 | 78 244 405 | |
| 9 |
Try it in the simulator
Do by hand what Goal Seek does: type =ПЛТ(B2/12;B3;-B1) in B4. Then change the amount in B1 to bring B4 as close to 3,000,000 as you can. The answer should be around 56,741,777.
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Loan amount | 50000000 | ||||||||||||||||||||||
| 2 | Annual rate | 0,24 | ||||||||||||||||||||||
| 3 | Term, months | 24 | ||||||||||||||||||||||
| 4 | Monthly payment | |||||||||||||||||||||||
| 5 | ||||||||||||||||||||||||
| 6 | ||||||||||||||||||||||||
| 7 | ||||||||||||||||||||||||
| 8 | ||||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.