Goal seeking in excel

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. For example, suppose that you need to borrow some money. You know how much money you want, how long you want to take to pay off the loan, and how much you can afford to pay each month. You can use Goal Seek to determine what interest rate you will need to secure in order to meet your loan goal.

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. For example, suppose that you need to borrow some money. You know how much money you want, how long you want to take to pay off the loan, and how much you can afford to pay each month. You can use Goal Seek to determine what interest rate you will need to secure in order to meet your loan goal.

Note: Goal Seek works only with one variable input value. If you want to accept more than one input value; for example, both the loan amount and the monthly payment amount for a loan, you use the Solver add-in. For more information, see Define and solve a problem by using Solver.

Step-by-step with an example

Let’s look at the preceding example, step-by-step.

Because you want to calculate the loan interest rate needed to meet your goal, you use the PMT function. The PMT function calculates a monthly payment amount. In this example, the monthly payment amount is the goal that you seek.

Prepare the worksheet

  1. Open a new, blank worksheet.

  2. First, add some labels in the first column to make it easier to read the worksheet.

    1. In cell A1, type Loan Amount.

    2. In cell A2, type Term in Months.

    3. In cell A3, type Interest Rate.

    4. In cell A4, type Payment.

  3. Next, add the values that you know.

    1. In cell B1, type 100000. This is the amount that you want to borrow.

    2. In cell B2, type 180. This is the number of months that you want to pay off the loan.

      Note: Although you know the payment amount that you want, you do not enter it as a value, because the payment amount is a result of the formula. Instead, you add the formula to the worksheet and specify the payment value at a later step, when you use Goal Seek.

  4. Next, add the formula for which you have a goal. For the example, use the PMT function:

    1. In cell B4, type =PMT(B3/12,B2,B1). This formula calculates the payment amount. In this example, you want to pay $900 each month. You don’t enter that amount here, because you want to use Goal Seek to determine the interest rate, and Goal Seek requires that you start with a formula.

      The formula refers to cells B1 and B2, which contain values that you specified in preceding steps. The formula also refers to cell B3, which is where you will specify that Goal Seek put the interest rate. The formula divides the value in B3 by 12 because you specified a monthly payment, and the PMT function assumes an annual interest rate.

      Because there is no value in cell B3, Excel assumes a 0% interest rate and, using the values in the example, returns a payment of $555.56. You can ignore that value for now.

Use Goal Seek to determine the interest rate

  1. On the Data tab, in the Data Tools group, click What-If Analysis, and then click Goal Seek.

  2. In the Set cell box, enter the reference for the cell that contains the formula that you want to resolve. In the example, this reference is cell B4.

  3. In the To value box, type the formula result that you want. In the example, this is -900. Note that this number is negative because it represents a payment.

  4. In the By changing cell box, enter the reference for the cell that contains the value that you want to adjust. In the example, this reference is cell B3.
     

    Note: The cell that Goal Seek changes must be referenced by the formula in the cell that you specified in the Set cell box.

  5. Click OK.

    Goal Seek runs and produces a result, as shown in the following illustration.

    Goal Seek

    Cells B1, B2, and B3 are the values for the loan amount, term length, and interest rate.

    Cell B4 displays the result of the formula =PMT(B3/12,B2,B1).

  6. Finally, format the target cell (B3) so that it displays the result as a percentage.

    1. On the Home tab, in the Number group, click Percentage.

    2. Click Increase Decimal or Decrease Decimal to set the number of decimal places.

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. For example, suppose that you need to borrow some money. You know how much money you want, how long you want to take to pay off the loan, and how much you can afford to pay each month. You can use Goal Seek to determine what interest rate you will need to secure in order to meet your loan goal.

Note: Goal Seek works only with one variable input value. If you want to accept more than one input value, for example, both the loan amount and the monthly payment amount for a loan, use the Solver add-in. For more information, see Define and solve a problem by using Solver.

Step-by-step with an example

Let’s look at the preceding example, step-by-step.

Because you want to calculate the loan interest rate needed to meet your goal, you use the PMT function. The PMT function calculates a monthly payment amount. In this example, the monthly payment amount is the goal that you seek.

Prepare the worksheet

  1. Open a new, blank worksheet.

  2. First, add some labels in the first column to make it easier to read the worksheet.

    1. In cell A1, type Loan Amount.

    2. In cell A2, type Term in Months.

    3. In cell A3, type Interest Rate.

    4. In cell A4, type Payment.

  3. Next, add the values that you know.

    1. In cell B1, type 100000. This is the amount that you want to borrow.

    2. In cell B2, type 180. This is the number of months that you want to pay off the loan.

      Note: Although you know the payment amount that you want, you do not enter it as a value, because the payment amount is a result of the formula. Instead, you add the formula to the worksheet and specify the payment value at a later step, when you use Goal Seek.

  4. Next, add the formula for which you have a goal. For the example, use the PMT function:

    1. In cell B4, type =PMT(B3/12,B2,B1). This formula calculates the payment amount. In this example, you want to pay $900 each month. You don’t enter that amount here, because you want to use Goal Seek to determine the interest rate, and Goal Seek requires that you start with a formula.

      The formula refers to cells B1 and B2, which contain values that you specified in preceding steps. The formula also refers to cell B3, which is where you will specify that Goal Seek put the interest rate. The formula divides the value in B3 by 12 because you specified a monthly payment, and the PMT function assumes an annual interest rate.

      Because there is no value in cell B3, Excel assumes a 0% interest rate and, using the values in the example, returns a payment of $555.56. You can ignore that value for now.

Use Goal Seek to determine the interest rate

  1. Do one of the following:

    In Excel 2016 for Mac: On the Data tab, click What-If Analysis, and then click Goal Seek.

    In Excel for Mac 2011: On the Data tab, in the Data Tools group, click What-If Analysis, and then click Goal Seek.

  2. In the Set cell box, enter the reference for the cell that contains the formula that you want to resolve. In the example, this reference is cell B4.

  3. In the To value box, type the formula result that you want. In the example, this is -900. Note that this number is negative because it represents a payment.

  4. In the By changing cell box, enter the reference for the cell that contains the value that you want to adjust. In the example, this reference is cell B3.
     

    Note: The cell that Goal Seek changes must be referenced by the formula in the cell that you specified in the Set cell box.

  5. Click OK.

    Goal Seek runs and produces a result, as shown in the following illustration.

    What-if analysis - Goal Seek feature

  6. Finally, format the target cell (B3) so that it displays the result as a percentage. Follow one of these steps:

    • In Excel 2016 for Mac: On the Home tab, click Increase Decimal Increase Decimal or Decrease Decimal Decrease Decimal.

    • In Excel for Mac 2011: On the Home tab, under Number group, click Increase Decimal Increase the number of decimal places or Decrease Decimal Decrease the number of decimal places to set the number of decimal places.

What is Goal Seek in Excel?

The Goal Seek in excel is a “what-if-analysis” tool that calculates the value of the input cell (variable) with respect to the desired outcome. In other words, the tool helps answer the question, “what should be the value of the input in order to attain the given output?”

For example, the cost price of a product is $15 and the business wants to earn revenue of $50,000. The Goal Seek function can determine the number of units of the product to be sold to achieve the given target of $50,000.

The Goal Seek changes the variable (cause) to study the variations in the result (effect). It shows the impact of change in one value on the other value. This is why it is helpful in cause and effect analysis.

Goal seek function in excel is used in financial modeling and forecasting scenarios.

Table of contents
  • What is Goal Seek in Excel?
    • Goal Seek Parameters
    • How to use Goal Seek in Excel?
      • Example #1
      • Example #2
      • Example #3
    • The Rules Governing the Parameters
    • Frequently Asked Questions
    • Recommended Articles

Goal Seek Parameters

The parameters to be specified in the “Goal Seek” dialog box are stated as follows:

  • Set cell–In this box, enter the cell reference of the formula to be resolved. This is the target cell or the formula cell.
  • To value–In this box, enter the desired output to be achieved. This is the value of the “set cell” to be attained.
  • By changing cell–In this box, enter the reference of the input cell (variable) to be adjusted. This is the cell we want to change in order to impact the “set cell.”

Note: At a given time, Goal Seek works with only one variable input. For working with multiple input values, use the solver in Excel.

Goal Seek in Excel

How to use Goal Seek in Excel?

Example #1

You can download this Goal Seek Excel Template here – Goal Seek Excel Template

The following table shows the votes received by the two candidates, A and B, who contested in an election. In the present situation, candidate B is leading by 10,000 votes. It is given that to win the election, 50.01% votes are required.

We want to change the voting percentage (column C) of candidate A in such a way that he wins the election. Calculate the total number of votes required by candidate A to win.

Goal Seek Excel Example 1

Let us calculate the present voting percentage for both the candidates. This is done by dividing the individual votes received by the total votes.

Candidate A has won 46.43% of the total votes. Therefore, he needs only 3.67% votes to win the election.

Goal Seek Excel Example 1-1

The steps to use Goal Seek in excel are stated as follows:

  1. In the Data tab, click “Goal Seek” from the “what-if-analysis” drop-down.

    Goal Seek Excel Example 1-2

  2. The “Goal Seek” excel window appears as shown in the following image.

    Goal Seek Excel Example 1-3

  3. Enter $C$2 in the “set cell” box. This is because C2 is the target cell.

    Goal Seek Excel Example 1-4

  4. Enter 50.01% in the “to value” box. This is the value of the “set cell” that we want to obtain. In other words, the “set cell” should change to the target value of 50.01%.

    Goal Seek Excel Example 1-5

  5. Enter $B$2 in the “by changing cell” box. This is the cell we want to change to impact the “set cell” C2. Since all the parameters are set, click “Ok” to get the result.

    Goal Seek Excel Example 1-6

  6. The output is shown in the following image. Candidate A should secure 70,014 votes to win the election. With 70,014 votes, the voting percentage of candidate A will become 50.01%. Click “Ok” to apply the changes.

    Goal Seek Excel Example 1-7

    The total number of votes and the voting percentage of candidate A has changed. Consequently, the votes and the voting percentage of candidate B also changes.

    The votes of candidate B are calculated by subtracting 70,014 from 140,000. The final output is displayed in the following image. Hence, candidate A wins the election.

Example #2

Mr. A opens a retail shop and sells goods at an average selling price of $25 per unit. To meet his operating expenses, he wants to generate monthly revenue of $250,000.

We want to calculate the quantity of the goods Mr. A should sell to earn the given revenue.

Goal Seek Excel Example 2

Step 1: In cell B3, apply the formula unit priceUnit Price is a measurement used for indicating the price of particular goods or services to be exchanged with customers or consumers for money. It includes fixed costs, variable costs, overheads, direct labour, and a profit margin for the organization.read more*units (B1*B2).

Goal Seek Excel Example 2-1

Step 2: In the Data tab, click “Goal Seek” from the “what-if-analysis” drop-down. The “Goal Seek” window appears as shown in the following image.

Goal Seek Excel Example 2-2

Step 3: Enter $B$3 in the “set cell” box. The target cell is the revenue cell B3.

Goal Seek Excel Example 2-3

Step 4: Enter 250000 in the “to value” box. This is the value of the “set cell” to be achieved.

Goal Seek Excel Example 2-4

Step 5: Enter $B$2 in the “by changing cell.” The quantity has to be calculated in cell B2. So, this is the cell that has to be adjusted to achieve the given revenue. Click “Ok.”

Goal Seek Excel Example 2-5

Step 6: The output is displayed in the following image. Hence, Mr. A needs to sell 10,000 units of goods to generate revenue of $250,000. Click “Ok” to apply the changes.

Goal Seek Excel Example 2-6

Example #3

The following table shows the marks obtained (in percentage) by a student in five subjects. Her present average grade is 88%. Since there are six subjects in the class, she is yet to appear for the last examination.

The student is targeting the overall average of 90% from all the six subjects. We want to calculate the marks she should score in the remaining subject to secure the given average.

Example 3

Step 1: Open the “Goal Seek” window from the Data tab.

Example 3-1

Step 2: Enter $B$7 as the “set cell.” The target cell is the average cell B7.

Example 3-2

Step 3: Enter “90” in the “to value” box. This is the value we want to attain.

Example 3-3

Step 4: Enter $B$6 in the “by changing cell” box. This is the value that has to be adjusted. Click “Ok.”

Example 3-4

Step 5: The output is displayed in the following image. Hence, the student should score 98% in “subject 6” to get an overall average of 90%. Click “Ok” to apply the changes.

Example 3-5

Likewise, the Goal Seek helps identify the exact input that should be adjusted to reach the desired result.

The Rules Governing the Parameters

  • The “set cell” should always contain a formula.
  • The formula of the “set cell” should depend, whether directly or indirectly, on the “by changing cell.” This is necessary to study the impact on the “set cell.”
  • The “by changing cell” should not contain any special characters.

Frequently Asked Questions

Define the Goal Seek in Excel.

The Goal Seek in excel calculates the input value (variable) based on a given output. Being a what-if-analysis tool, the Goal Seek is used when there is a need to study the impact of a change in one value on the other.

The Goal Seek is used in scenario analysis, cause and effect situations, break-even model, sensitivity analysis, and so on. The parameters used in the Goal Seek excel tool are listed as follows:
• “Set cell”–This is the reference of the formula cell.
• “To value” –This is the desired or targeted value to be achieved.
• “By changing cell” –This is the cell reference of the variable to be changed for attaining the desired value.
The Goal Seek works with one input at a given time.

What is Goal Seek used for in Excel?

The Goal Seek in excel is used in the following situations:

• To calculate the input (unknown) for a given output (known)
• To analyze the impact of a change in the input (variable) on the output (set cell)
• To perform what-if-analysis, i.e., explore the various outcomes if different values are used for the input
• To return the closest value (approximate) in case a solution to the problem is not found

Note: The formula used in the Goal Seek analysis remains the same throughout. The input values entered in the “by changing cell” box are changed to study the effect on the output.

How does the Goal Seek work in Excel?

The Goal Seek does backward calculations. It begins from the output that is known and returns the exact input. This input is a requisite for reaching the given output.

The steps showing the working of Goal Seek are listed as follows:

1. Enter data in Excel on which calculations using Goal Seek are to be performed.
2. Click “Goal Seek” from the “what-if-analysis” drop-down in the Data tab.
3. Enter the parameters in the tool.
a. Type the cell reference for the input and the output.
b. Type the target value to be achieved.
4. Click “Ok” to proceed.
5. In the “Goal Seek status” box, click “Ok” to apply the changes to the worksheet.

Note: The initial values can be restored by pressing the “undo” shortcut (Ctrl+Z).

Recommended Articles

This has been a guide to Goal Seek in Excel. Here we learn how to use Goal Seek function in Excel along with step by step examples and a downloadable template. You may learn more about Excel from the following articles –

  • Evaluate Formula in ExcelThe Evaluate formula in Excel is used to analyze and understand any fundamental Excel formula such as SUM, COUNT, COUNTA, and AVERAGE. For this, you may use the F9 key to break down the formula and evaluate it step by step, or you may use the “Evaluate” tool.read more
  • Create a Data Table in ExcelA data table in excel is a type of what-if analysis tool that allows you to compare variables and see how they impact the result and overall data. It can be found under the data tab in the what-if analysis section.read more
  • One Variable Excel Data TableOne variable data table in excel means changing one variable with multiple options and getting the results for multiple scenarios. The data inputs in one variable data table are either in a single column or across a row.read more
  • Excel Scenario ManagerScenario Manager is a what-if analysis tool that works with many scenarios that are supplied to it. It uses a set of ranges that have an effect on a certain output and can be used to generate different scenarios such as bad and medium depending on the values.read more
  • Excel Shortcut Paste ValuesPasting values is a common procedure that allows us to eliminate any formatting and formulas from the copied cell and paste them into the pasted cell. «Alt + E + S + V» is the shortcut key for pasting values.read more

Goal Seek Example 1 | Goal Seek Example 2 | Goal Seek Precision | More about Goal Seek

If you know the result you want from a formula, use Goal Seek in Excel to find the input value that produces this formula result.

Goal Seek Example 1

Use Goal Seek in Excel to find the grade on the fourth exam that produces a final grade of 70.

1. The formula in cell B7 calculates the final grade.

Formula Result

2. The grade on the fourth exam in cell B5 is the input cell.

Input Cell

3. On the Data tab, in the Forecast group, click What-If Analysis.

Click What-If Analysis

4. Click Goal Seek.

Click Goal Seek

The Goal Seek dialog box appears.

5. Select cell B7.

6. Click in the ‘To value’ box and type 70.

7. Click in the ‘By changing cell’ box and select cell B5.

8. Click OK.

Goal Seek Parameters

Result. A grade of 90 on the fourth exam produces a final grade of 70.

Goal Seek Solution

Goal Seek Example 2

Use Goal Seek in Excel to find the loan amount that produces a monthly payment of $1500.

1. The formula in cell B5 calculates the monthly payment.

PMT function

Explanation: the PMT function calculates the payment for a loan. If you’ve never heard of this function before, that’s OK. The higher the loan amount, the higher the monthly payment. Assume, you can only afford $1500 a month. What is your maximum loan amount?

2. The loan amount in cell B3 is the input cell.

Loan Amount

3. On the Data tab, in the Forecast group, click What-If Analysis.

Click What-If Analysis

4. Click Goal Seek.

Click Goal Seek

The Goal Seek dialog box appears.

5. Select cell B5.

6. Click in the ‘To value’ box and type -1500 (negative, you are paying out money).

7. Click in the ‘By changing cell’ box and select cell B3.

8. Click OK.

Goal Seek Variables

Result. A loan amount of $250,187 produces a monthly payment of $1500.

Goal Seek Found a Solution

Goal Seek Precision

Goal seek returns approximate solutions. You can change the iteration settings in Excel to find a more precise solution.

1. The formula in cell B1 calculates the square of the value in cell A1.

Formula Cell

2. Use goal seek to find the input value that produces a formula result of 25.

Goal Seek Example

Result. Excel returns an approximate solution.

Approximate Solution

3. On the File tab, click Options, Formulas.

4. Under Calculation options, decrease the Maximum Change value by inserting some zeros. The default value is 0.001.

Maximum Change Value

5. Click OK.

6. Use Goal Seek again. Excel returns a more precise solution.

More Precise Solution

More about Goal Seek

There are many problems Goal Seek can’t solve. Goal Seek requires a single input cell and a single output (formula) cell. Use the Solver in Excel to solve problems with multiple input cells. Sometimes you need to start with a different input value to find a solution.

1. The formula in cell B1 below produces a result of -0.25.

Formula

2. Use Goal Seek to find the input value that produces a formula result of +0.25.

Goal Seek Problem

Result. Excel can’t find a solution.

Goal Seek Status

3. Click Cancel.

4. Start with an input value greater than 8.

Input Value Greater Than 8

5. Use Goal Seek again. Excel finds a solution.

Goal Seeking in Excel

Explanation: y = 1 / (x — 8) is discontinuous at x = 8 (dividing by 0 is not possible). In this example, Goal seek cannot reach one side of the x-axis (x>8) if it starts on the other side of the x-axis (x<8) or vice versa.

Goal Seek in Excel

Introduction to Goal Seek in Excel

Goal Seek is a tool in Microsoft Excel for finding out an unknown value from a set of known values. This simply means that it helps you find the missing number when you know some of the numbers involved in a calculation. For example, if you want to know how much money you should save annually for retirement, but do not know the interest rate, Goal Seek can help you find the interest rate needed to reach your goal.

Goal Seek is a powerful tool for performing What-If analysis and can have a wide range of applications, such as finance and engineering. In finance, it’s especially useful for financial models, budgeting, and forecasting.

How to Implement Goal Seek?

Goal Seek is implemented using the Goal Seek dialog box, as shown in the following figure:

Goal Seek

One can see that the Goal Seek dialog box accepts three values:

  • Set Cell: The “Set Cell” refers to the specific cell in your worksheet that needs to be changed to achieve the desired outcome.
  • To Value: The “To Value” is the intended value that you want the “Set Cell” to be changed to.
  • By Changing Cell: This is the cell in your worksheet that will be changed by Excel’s Goal Seek tool in order to achieve the “To Value” for the “Set Cell”.

How to Use Goal Seek in Excel?

Goal Seek in Excel is very simple and easy to create. Let’s understand the working with some examples.

You can download this Goal Seek Excel Template here – Goal Seek Excel Template

Example #1

Let’s consider a simple example of multiplying two numbers, A and B. In this example, A has a value of 9, while B has a value of 6.

Goal Seek Example 1

To find the product of these two numbers, we can use the function =PRODUCT(B1,B2), which results in 54.
Now, let’s say we want to find out the value of B, if value of A is still  9, and the desired product is 72.
To do this, we can use Excel’s Goal Seek tool.

Solution:
The following are the steps for calculating it:

  • Click on the “Data” tab
  • Under the Data Tools group, click on the “What-If Analysis” drop-down menu
  • Click on “Goal Seek

Goal Seek Example 1-1

  • The user will see the “Goal Seek Dialog Box” appear on their screen.
  • Within this dialog box, the user must navigate to the “Set cell” field and select “B3“.
  • In the “To value” field, the user must input the value “72“.
  • Next, the user must navigate to the “By changing cell” field and select “B2

Goal Seek Example 1-2

  • Then proceed to click on “OK”.

Goal Seek Example 1-3

The result is as follows:

Goal Seek Example 1-4

Example #2

Aryan Ltd. operates in the generator business and sells each generator at a price of Rs. 18000 and the quantity sold is 100.
One can observe in the below table that the company is suffering a loss of Rs. 13.8 lacs. Furthermore, the maximum price for which a generator can be sold is identified to be Rs. 18000. Now, one must identify the no. of generators that can be sold, which will return the break-even value (No Profit No Loss). Thus, the Profit value (Revenue – Fixed Cost + Variable cost) needs to be zero in order to attain a break-even value.

Example 2

Solution:
The calculation includes the following steps:

  • Click on the “Data” tab
  • Under the Data Tools group, click on the “What-If Analysis” drop-down menu
  • Click on the “Goal Seek” option

Example 2-1

  • Within the “Goal Seek” dialog box, the user should then select “C8” in the “Set Cell” field.
  • Next, the user should enter the value “0” in the “To Value” field.
  • Finally, the user should select “C3” in the “By Changing Cell” field.

Example 2-2

  • Then proceed to click on the “OK”

Goal Seek Example 2-3

The result is as follows:

Example 2-4

Example #3

In the given scenario, a man has borrowed a loan amount of Rs. 18,000 with an interest rate of 10% per annum. This results in a monthly repayment of Rs. 481.32 and a total repayment amount of Rs. 21659.47 after the completion of the loan term, which is 45 months.
However, the borrower has found it difficult to pay the current monthly amount and wishes to extend the repayment period. At the same time, the borrower wants to ensure that the total repayment amount does not exceed Rs. 25000.
Let’s resolve this using Goal Seek:

Example 3

Solution:
The calculation includes the following steps:

  • Click on the “Data” tab
  • Under the Data Tools group, click on the “What-If Analysis” drop-down menu
  • Click on the “Goal Seek” option

Example 3-1

  • In the Goal Seek Dialog Box, the borrower must select cell “B6” in the “Set Cell” field.
  • Next, the borrower must enter the value of “ 25000” in the “To Value” field.
  • Finally, the borrower must select cell “B4” in the “By Changing Cell” field.

Example 3-2

  • Click on the “OK” button to initiate the calculation.

Example 3-3

  • Goal Seek lowers the monthly payment, and the number of payments in cell B4 changes from 45 to 82.90. As a result, the Equated Monthly Instalment (EMI) is decreased to 301.56.
  • Press the “OK” button to accept the changes made by Goal Seek.

Example 3-4

The result is as follows:

Example 3-5

Example #4

Example 4

In the above table, a man is considering investing a lump sum amount in his bank for a specific time period. The bank employee recommends opening a Fixed Deposit Account with an interest rate of 6.5% and a term of 5 years. To calculate the return, the man uses the FV function, as demonstrated in the calculation procedure given above.

Now, the man desires to increase his return to $1500000 without altering the time period or initial amount of investment. Therefore, he wishes to determine the interest rate that will enable him to achieve the desired return.

The calculation includes the following steps:

  • Click on the “Data” tab
  • Under the Data Tools group, click on the “What-If Analysis” drop-down menu
  • Click on the “Goal Seek” option

Example 4-1

  • Open the Goal Seek Dialog Box and select “B6” in the “Set Cell” field.
  • Enter “1500000” in the “To Value” field.
  • Select “B4” in the “By Changing Cell” field to change the rate of interest.

Example 4-2

  • Click on “OK” to proceed.

Goal Seek Example 4-3

  • Goal Seek adjusts the interest rate in cell B4 from 6.50% to 20.11%, while keeping the initial investment and number of years unchanged.
  • Press OK to accept the changes made by the Goal Seek function.

Example 4-4

The result is as follows:

Example 4-5

Real-World Examples

#1 Finance

Suppose you are aiming to save $10,000 as a down payment for a house and intend to make regular monthly deposits into a savings account with a 2% annual interest rate. You want to calculate the number of months it will take to reach your objective.

Goal Seek Finance Example

Goal Seek Finance Example output

#2 Marketing

Suppose you are a marketer who wants to determine the optimal pricing strategy for a product. You have data on the production cost of the product, and on its demand and revenue at different price points. You can use Goal Seek to find the price that will maximize the revenue while considering the production cost of the product. For example, Goal Seek can help find the price point that will give the maximum profit for a product with a certain production cost and demand.

Goal Seek Marketing Example

Goal Seek Marketing Example output

#3 Operations

Suppose you are the manager of a coffee shop and want to determine the optimal price to charge for a cup of coffee. You have data on the cost of goods sold, overhead expenses, and the demand for coffee at different price points.

Goal Seek Operation Example

Goal Seek Operation Example output

Pros & Cons of Goal Seek in Excel

  • Goal Seek allows the user to find accurate data by back-calculating the resulting cell by giving a specific value to it.
  • Goal Seek can work with the Scenario Manager feature as well.
  • Data must contain a formula to work.

Things to Remember

  1. Goal Seek can only handle one input and one output cell. It cannot handle multiple constraints.
  2. Goal Seek may fail to find a solution when the input value is far from the desired output value.
  3. Since Goal Seek is dependent on initial input values, it can lead to suboptimal solutions if the initial input value is too far from the optimal value.
  4. Goal Seek may not be suitable for complex models, which have many input and output cells. Instead, one can use other Excel tools such as Solver or Visual Basic for Applications (VBA).
  5. The model must be set up correctly before using Goal Seek, ensuring that all cells are properly formatted and excluding any circular references.
  6. When using Goal Seek, it is recommended to use cell references instead of hard-coding values for easy changes in the future.
  7. Goal Seek can work with other Excel functions, like data tables, scenarios, or macros to automate multiple calculations.
  8. Make a backup copy of the file before using Goal Seek, especially if significant changes are being made to the model.
  9. Always consider your model’s real-world applications and Goal Seek’s limitations when deciding which tool to use.

Frequently Asked Questions

Q1. What are some common applications of Goal Seek in Excel?
Answer: There are various applications of Goal Seek in Excel, such as:

  • Calculating the required monthly payment to pay off a loan in a certain time
  • Calculating a suitable price for a product that can maximize profits
  • Determining the break-even point in sales volume for a business
  • Finding the necessary discount rate to achieve a desired net present value for a project
  • Determining the optimal production volume to minimize costs and maximize profits.

Q2. What is the primary difference between Goal Seek and Solver in Excel?
Answer: Goal Seek is a simpler tool used for finding a single input value that will result in a specific output value that allows, Solver is a more powerful tool that can handle more complex problems with multiple constraints and variables.

Q3. What are the limitations of Goal Seek in Excel?
Answer: There are multiple limitations to Goal Seek in Excel, such as that it works with only one variable, is restricted to linear relationships, finds only a single solution, etc. Hence, Goal Seek is not suitable for complex problems.

Recommended Articles

This is our guide to Goal Seek in Excel. Here are some further articles for expanding understanding:

  1. VBA Goal Seek
  2. Excel Data Visualization
  3. Data Model in Excel
  4. Excel Database Template

Have you ever stared at your spreadsheet and wondered how to find the answer to a “what-if” scenario? Let’s start with the goal in mind. In this tutorial, you’ll learn how to use Goal Seek in Excel to answer these and other analysis questions. (Includes video and example spreadsheet.)

What is Goal Seek in Excel?

Goal seek is a built-in function in Microsoft Excel that allows you to see which data item in a formula affects another. You might look at these as “cause and effect” scenarios. It’s sometimes called sensitivity analysis. The “what-if” analysis tool is often used in finance or sales scenarios, such as determining a monthly payment or bonus calculations. There are other uses for it, too.

For example, you might be looking at your local election results and see:

Decision Votes % of Votes
YES 4478 63.90 *
NO 2530 36.10
Total 7008 100

* Needs approval from 2/3 of the voters

In our example, the YES votes are a majority but shy of the required 2/3 approval to win the election. People quickly realize they were close, but which item do they change to find out how close. What would’ve made a difference?

Using Goal Seek, we can change the input value of one cell and see how the results change. This would allow you to answer these types of questions.

  • How many more YES votes were needed to win the election?
  • If 500 more people voted, could the YES voters have won?

The goal of each of these questions is to change one data value to see if the YES percentage went over that two-thirds mark, or 67%. Then, rather than haphazardly changing original values to see the results, Goal Seek can find the answer. It works in the background doing iterative calculations.

While you might think this feature can be used with the Excel formula bar, it can’t. There is no such thing as an Excel Goal Seek formula. Instead, there is a dedicated dialog box with defined fields.

Keyboard Shortcut: Alt + D + W + G

Time needed: 5 minutes.

This tutorial will show you how to invoke the Goal Seek dialog box and fill in the values for your “what-if” scenario. In this example, I will change the YES%.

  1. Create an Excel spreadsheet with your data or download the practice worksheet.

    In the snapshot below, the green cells have formulas to calculate the percentage and totals.

Election results spreadsheet.

  1. Click the cell you want to change.

    This cell is called the “Set Cell“. In my example, it will be cell D4.

  2. From the Data tab, select the What if Analysis… button.
  3. Select Goal Seek from the drop-down menu.
  4. In the Goal Seek dialog box, enter the new “what if” amount in the To value: field.

    In this example, we’re asking Excel to replace the contents of cell D4, which is 0.64, with 0.67. This is the percentage needed to win the election.

Goal Seek dialog with Set Cell and new To value.

Goal Seek input dialog
  1. Click the cell you wish to change. Since we wanted to know the number of “Yes” votes needed, we’ll click cell C4. This is our input cell.

Goal Seek dialog with change cell reference.

  1. Click the OK button. Excel will overwrite the previous cell value with the new one.

Goal Seek dialog with matching Target and Current values.

Goal Seek returns new values
  1. If you wish to accept the new value, click OK. Otherwise, click Cancel.

Goal Seek Requirements

As with many simple tools, there are limitations. To start, the tool only works on desktop versions, so if you’re using the web version or on an Ipad, you’re out of luck.

Excel also requires that the Set cell be a formula cell. In my case, I have =C4/C6 to get a percent.

Excel error when set sell has no formula.

Set cell error for missing formula

Excel only allows you to change one variable input. The other requirement is that the cell you change in Step 6 (By changing cell:) can’t contain a formula. Instead, it must be a typed value.

Approximation Issues & Formulas

This tool is fine for many scenarios, but it presents a problem here. If you look at the latest figures, you’ll see it also increased the TOTAL vote count. Ideally, I would want to add a constraint and not have my TOTAL vote count go over the current count.

You may have noticed, that I ran into the approximation issue. Goal Seek rounded down my percentage to below 67%.

results showing current value less than target value.

Excel didn’t quite reach 67%

Just as I used a formula in my set cell, I also used an Excel formula cell for TOTAL in B6. This was the SUM of my YES and NO votes. Since this TOTAL cell was a formula, my TOTAL count automatically adjusted when Goal Seek changed the YES cell value.

The solution is to remove my formula and type “7008” in cell C6. This is a more desirable outcome.

Better results when formula removed from TOTAL cell.

TOTAL value stayed constant.

While it doesn’t happen often, the tool can sometimes present puzzling results. I’ve seen reports, where some Add-on, has interfered in the calculation. If that happens to you, I would close Excel and open it in Safe Mode.

As this example shows, Goal Seek is a useful “What if” analysis tool that quickly finds the answers for different scenarios. If you’re working with complicated spreadsheets containing many different variables and formulas, then using an add-on called the Excel Solver may be a better solution. However, Goal Seek is a fast solution to lots of scenarios with items such as annual interest rates or sales goals.

Excel Goal Seek Video

Please click the image below to be taken to the video tutorial page and transcription.

Goal Seek Example Spreadsheet

Понравилась статья? Поделить с друзьями:
  • Give the opposite of the word consequence
  • Goal seek with excel
  • Give the missing part of the word price sweat scraper
  • Goal seek excel что это такое
  • Goal seek excel на русском