Microsoft Excel is jam packed with cool useful features that tend to go unused by most users, simply because they don’t know how to use them, or even that they exist. One of these features is Excel’s Goal Seek tool.
First, some background on what it does. Goal Seek is essentially the answer to every middle school aged kid’s math test word problem. It is best used when you know the answer to the problem you’re trying to solve, but don’t know all the inputs.
For example, a simple word problem might be “You have 432 sheets of paper to give out to a class of 36 students. How many sheets of paper does each student get.” Well you know that 36 multiplied by something will give you 432, but you don’t know what that number is. You could divide 432 by 36 to get the answer, but let’s assume that isn’t possible right now. With Goal Seek, you need several things:
- An answer expressed as a formula, in this case 432 is equal to 36 times something. Don’t worry, the result of the formula doesn’t have to equal 432 yet. That’s the magic of Goal Seek.
- You need one part of the equation, in this case 36.
To start, type the following into your spreadsheet in the cells indicated.
A | |
1 | 36 |
2 | <leave blank> |
3 | =A1*A2 |
Next, open Goal Seek (Tools | Goal Seek, or Data tab on the Excel 2007 ribbon | What If Analysis | Goal Seek).
You are now going to be asked for three things.
- Set Cell: this is the reference to the cell that contains your formula, in which you want Excel to produce your answer of 432. In our example it should be A3. Note: the Set Cell MUST contain a formula or function.
- To Value: this is the value you want in your Set Cell (A3). The value here should be 432.
- By Changing Cell: Since we know that the formula in cell A3 is correct, and the value of 36 in cell A1 is correct, we want Excel to produce the answer of 432 by changing cell A2. Type A2 in this box. Note: the Changing Cell MUST contain a value.
- Click OK.
After clicking OK, Excel will attempt to find a solution to the equation. Once it does, it will enter the missing number in cell A2 and your formula should now equal 432.
Obviously this is a basic example, and doesn’t use Goal Seek’s capabilities to their fullest extent. Let’s take another example that looks at a company’s sales by product to get their desired level of revenue.
XYZ Company makes four different products, Product A, Product B, Product C, and Product D. The company can produce 1,000, 750, 500, and 100 of each product respectively. The products also sell for $15, $20, $35, and $50 respectively. Their maximum revenue for products produced that month, therefore is as follows:
A | B | C | D | |
1 | Product | Production | Sales Price | Net Revenue |
2 | Product A | 1,000 | $15 | $15,000 |
3 | Product B | 750 | $20 | $15,000 |
4 | Product C | 500 | $35 | $17,500 |
5 | Product D | 100 | $50 | $5,000 |
6 | Total | $52,500 |
Now say the company feels that their underdog, Product D, could be producing much more. They also want their revenues to be 60,000. How many more of Product D will they need to produce?
To figure this out, run Goal Seek just like before, except this time, the “Set Cell” is cell D6, “To Value” is 60,000, and the “By Changing Cell” is cell B5. After clicking OK, you’ll notice that Excel has changed the value in cell B5 to 250, indicating that you will need to increase production of Product D to 250 units from 100 in order to have revenues of $60,000, assuming everything else remains the same.