Locked lesson.
About this lesson
Exercise files
Download this lesson’s related exercise files.
10-01-What If Analysis Goal Seek-Start.xlsx17.1 KB 10-01-What If Analysis Goal Seek-Complete.xlsx
16.9 KB 10.01 what-if-analysis-goal-seek - Exercise.docx
52.8 KB Exercise - Goal Seek.xlsx
28.4 KB 10.01 what-if-analysis-goal-seek - Exercise solution.docx
84.5 KB Exercise Solution - Goal Seek.xlsx
28.9 KB
Quick reference
What-If Analysis: Goal Seek
Use the Goal Seek utility in Excel to find what the input value for a formula need to be when we know the formula result.
When to use
We can use Goal Seek in many scenarios to work out what value needs to change to achieve our result.
Instructions
If you know the result that you want from a formula but are not sure what input value the formula needs to get that result, use the Goal Seek feature. Goal Seek is part of Excel's What-If Analysis tools.
We are going to look at three examples.
Use PMT with Goal Seek to Calculate Loan Payments
In the first example, we need to calculate the monthly repayments on a loan. We will use the PMT function to do this.
The PMT Function
The PMT function has 5 arguments but only the first 3 are mandatory.
rate - the interest rate. Needs to be calculated as a monthly % if listed as per annum.
nper - number of periods. This is the number of months/years we are paying the loan back over. Needs to be calculated as months for monthly payments.
pv - present value. The current loan amount.
fv - future value (optional). We use this argument if we intend to make a balloon payment at the end.
type - if we are paying at the beginning or end of the payment period. (optional).
In our example, we need to divide the interest by 12 to get the monthly interest rate.
The result will show as a negative value as Excel considers this to be a debited amount. If we prefer to work with positive values, we can simply edit the formula (F2) and add a minus symbol in front of PMT.
Goal Seek
Our monthly payments are currently $436.60. Maybe we have budgeted to spend $500 a month so we would like to see either how much more we could borrow or how much the term would be reduced by if we were to make the higher monthly payment.
We can use Goal Seek to help with this.
- From the Data tab, in the Forecast group, click What-If Analysis and select Goal Seek.
In our example, we are going to calculate how many months the loan term will be reduced by if we pay $500 a month.
We set cell C11 to the value 500 by changing cell C9.
- Click OK.
If we pay $500 a month the term is reduced from 60 months to 52 months.
Use Goal Seek with AVERAGE
In the second example, we will use Goal Seek to help us calculate what mark Lucy needs to score for the last competency to achieve an average score of 80.
- Click in cell C15.
- Calculate the average of all scores.
Currently, Lucy has an average of 78. We can use Goal Seek to calculate what score she needs to get for 'Productivity' to raise her average to 80.
- From the Data tab, in the Forecast group, click What-If Analysis and select Goal Seek.
We can see that Lucy needs to score 90 for her last competency.
Use Goal Seek with SUM
In the final example, we are going to use Goal Seek to calculate the % increase for all staff bonuses if we have an increased budget for salaries.
- Scroll to the bottom of the dataset.
- In cell I57, press ALT+= to calculate the total of all salaries.
We have a budget of $2,500,000 for salaries so the % of increase needs to change.
- From the Data tab, in the Forecast group, click What-If Analysis and select Goal Seek.
We need to set cell I57 (total) to 2,500,000 by changing cell L8.
The increased amount is now 6.2%.
Login to downloadLesson notes are only available for subscribers.