Topics in this sectionReverse What-If Analysis2 topics
- Goal Seek
- Solver
Understanding Goal Seek in Spreadsheets
When you use a spreadsheet normally, you enter numbers into cells and the formulas calculate the result for you. This is called "what-if" analysis — you try different values and see what happens.
Reverse what-if analysis works the other way around. You know what answer you want, and you ask the spreadsheet to figure out what input value will get you that answer. For example, if you want to earn a profit of 50,000 SSP from selling sorghum, how many kilograms must you sell?
Excel provides two tools for this: Goal Seek and Solver. Goal Seek works with a single input cell, while Solver can work with multiple input cells and can handle more complex problems with rules or limits.
This note focuses on Goal Seek, which is the simpler of the two tools.
Goal Seek finds the value you need to enter in one specific cell to produce a result you want in another cell that contains a formula.
For instance, imagine you have a simple business spreadsheet that calculates your profit based on how many bags of maize you sell. The profit cell contains a formula that multiplies the number of bags sold by the profit per bag. If you want to achieve a profit of 100,000 SSP, Goal Seek can tell you exactly how many bags you need to sell to reach that target.
When you use Goal Seek, you must specify three things:
Set cell — This is the cell that contains the formula producing the result you want to achieve. You tell Goal Seek which formula cell holds your target answer.
To value — This is the number you want the formula cell to show. You tell Goal Seek what result you are aiming for.
By changing cell — This is the input cell that Excel will adjust to get the result you want. You tell Goal Seek which single input value it can change.
Think of it as a conversation: "I want the profit cell (set cell) to show 100,000 SSP (to value). Figure out what sales number (by changing cell) will give me that profit."
Imagine you run a small shop in Juba selling cooking oil. You have a spreadsheet set up like this:
- Cell B2 contains: 500 (the price per container in SSP)
- Cell B3 contains: 350 (your cost per container in SSP)
- Cell B4 contains: 1000 (the number of containers you hope to sell)
- Cell B6 contains the formula: =(B2-B3)*B4
Cell B6 calculates your profit by subtracting your cost from your selling price, then multiplying by the number of containers sold. Your expected profit would be (500 - 350) × 1000 = 150,000 SSP.
Now, suppose you want to know how many containers you must sell to make a profit of 200,000 SSP. You would use Goal Seek:
- Click the Data tab on the ribbon, then click What-If Analysis, then select Goal Seek.
- In the Set cell box, type B6 (the cell with your profit formula).
- In the To value box, type 200000 (the profit you want).
- In the By changing cell box, type B4 (the cell showing how many containers you sell).
- Click OK.
Excel will calculate that you need to sell approximately 1,333 containers to achieve a profit of 200,000 SSP.
When you need to use Goal Seek in any spreadsheet problem, follow these steps:
- Identify your target — Determine which cell contains the formula result you want to achieve. This is your set cell.
- Know your goal — Decide on the exact number you want that formula to produce. This is your to value.
- Find your input — Identify which single cell contains the value that the formula depends on. This is your by changing cell.
- Open Goal Seek — Go to Data, then What-If Analysis, then select Goal Seek.
- Enter the three parameters — Fill in the set cell, to value, and by changing cell boxes correctly.
- Run and check — Click OK. Excel will show you the solution and update your spreadsheet. Check that the answer makes sense.
Goal Seek helps you answer practical questions like:
- How many products must I sell to reach a certain profit?
- What price must I charge to cover my costs?
- How much must I save monthly to reach a savings goal in one year?
- How many students must pass an exam to achieve a class average of 75%?
Any situation where you know the result you want but need to find the input that produces it is a good candidate for Goal Seek.
A market vendor in Konyo Konyo Junction who sells groundnut oil could use Goal Seek to determine how many jerry cans of oil they need to sell each month to earn enough money to pay their child's school fees at a private secondary school in Juba. If their profit per jerry can is calculated in a spreadsheet and they know the total amount needed for fees, Goal Seek instantly tells them the sales target they must meet.
Question
What are the three parameters you must specify when using Goal Seek?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet