Excel tutorial
/

Data analysis

Advanced

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.

Книга1 - Excel
—☐✕
B4fx=ПЛТ(B2/12;B3;-B1)
ABCD
1Loan amount50 000 000
2Annual rate24%
3Term, months24
4Monthly payment2 643 555
5
Готово
Loan model: 50 mln UZS, 24% a year, 24 months → 2,643,555 UZS a month

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.

Книга1 - Excel
—☐✕
B1fx50000000
ABCD
1Loan amount50 000 0001
2Annual rate24%
3Term, months24
4Monthly payment2 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.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Получить данныеОбновить все
Получить данные
СортировкаФильтр
Сортировка и фильтр
Текст по столбцамУдалить дубликатыПроверка данных
Работа с данными
B4fx=ПЛТ(B2/12;B3;-B1)
ABCD
1Loan amount50 000 000
2Annual rate24%
3Term, months24
4Monthly payment2 643 555
5
Готово
Data → What-If Analysis → Goal Seek: three fields

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).

Книга1 - Excel
—☐✕
B1fx56741776,81
ABCD
1Loan amount56 741 777
2Annual rate24%
3Term, months24
4Monthly payment3 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).

Книга1 - Excel
—☐✕
B6fx=ПЛТ(B2/12;35;-B1)
ABCD
1Loan amount50 000 000
2Annual rate24%
3Term, months35,00
4Monthly payment2 000 000
5
6If 35 months2 000 110
7If 36 months1 961 643
8
Готово
Goal Seek: for a 2 mln payment, B3 = 35.00 months. But at 35 months the payment is 2,000,110 — over the limit, so you need 36

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....

  1. Click Add..., name the scenario (“Bank A”) and set Changing cells to B2:B3.
  2. Enter the values for that scenario (0.24 and 24). Repeat for the other banks.
  3. Select a scenario in the list and click Show — the model recalculates with those values.
  4. Summary... puts the results of all scenarios side by side on a new sheet. Perfect for your manager.
Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Получить данныеОбновить все
Получить данные
СортировкаФильтр
Сортировка и фильтр
Текст по столбцамУдалить дубликатыПроверка данных
Работа с данными
B4fx=ПЛТ(B2/12;B3;-B1)
ABCD
1Loan amount50 000 000
2Annual rate22%
3Term, months36
4Monthly payment1 909 523
5
Готово
The “Bank B” scenario is shown: 22%, 36 months → 1,909,523 UZS a month

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.

Книга1 - Excel
—☐✕
B5fx=ПЛТ($B$2/12;A5;-$B$1)
ABCD
1Loan amount50 000 000
2Annual rate24%
3
4Term, monthsMonthly paymentTotal paid
5124 727 98056 735 758
6242 643 55563 445 317
7361 961 64370 619 135
8481 630 09278 244 405
9
Готово
The longer the term, the smaller the monthly payment — but the total overpayment climbs sharply

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.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1Loan amount50000000
2Annual rate0,24
3Term, months24
4Monthly payment
5
6
7
8
9
10
Лист1
Готово

Has ExcelLab been useful?

Support the project and help us release new lessons and exercises.

Support us
Previous

55 / 154