Topics in this sectionReverse What-If Analysis2 topics
- Goal Seek
- Solver
When a spreadsheet calculation has many possible answers, Solver helps you find the best one — the one that gives you the maximum profit, the minimum cost, or meets other goals you set. Goal Seek can only change one value at a time, but real problems often need you to adjust several values at once while keeping some limits in place.
Goal Seek works like a simple guessing tool. You tell it: "I want this cell to show a certain number, so change this other cell until it happens." For example, if you know your monthly budget for transport is 5,000 SSP and you want to know how many litres of petrol you can buy at 450 SSP per litre, Goal Seek can find that answer by changing just one cell.
However, Goal Seek has three important limitations:
- It can change only one cell. You cannot ask it to adjust two or more different input cells at the same time.
- It cannot keep limits on values. It cannot stop a value from going below zero or going above a certain number.
- It gives only one answer. It finds one solution but cannot show you different possibilities or help you maximize or minimize something.
Solver is a more powerful tool that overcomes all these limitations. When you use Solver, you can:
- Adjust many cells at once. Instead of changing one input, you can tell Solver to change several different cells to reach your goal.
- Set constraints. You can add rules that Solver must follow. For example, you might say "the number of bags of sorghum must be at least 10" or "the total cost cannot exceed 50,000 SSP." These rules are called constraints.
- Optimize results. Solver can find the highest (maximize) or lowest (minimize) value for a cell. This is called optimization. For example, a market trader in Wau might want to know how to mix different products to earn the most profit while staying within their budget.
- Show multiple solutions. Solver can display different possible answers that all meet your constraints, giving you choices.
- Solver — an Excel tool that finds the best answer to a problem with multiple adjustable cells and constraints
- Optimization — the process of making something as good as possible, such as maximizing profit or minimizing cost
- Constraints — rules or limits you set for the values that Solver can use
- Solver tool — the feature in the Data menu that opens the Solver dialog box
Imagine you run a small kiosk in Malakal. You sell two types of locally produced drinks: fresh tamarind juice and baobab juice. Each litre of tamarind juice gives you a profit of 200 SSP, and each litre of baobab juice gives you 150 SSP. You have 20,000 SSP to spend on stock, and you want to spend all the money to buy the drinks. However, you have freezer space for only 80 litres total. Also, you know that tamarind juice sells faster, so you want to buy at least 30 litres of it.
This is a problem Goal Seek cannot solve because it has:
- Two adjustable cells (litres of tamarind, litres of baobab)
- A constraint on total cost (must equal 20,000 SSP)
- A constraint on total volume (cannot exceed 80 litres)
- A constraint on minimum tamarind (must be at least 30 litres)
- A goal to maximize total profit
Solver can handle all of these at once. It will tell you exactly how many litres of each drink to buy to get the highest possible profit while following all your rules.
- Prepare your worksheet with all the numbers and formulas in place.
- Click the Data tab on the ribbon, then look in the Analysis group for Solver.
- In the Set Objective box, choose the cell that contains the result you want to maximize, minimize, or set to a specific value.
- Choose whether you want to maximize, minimize, or set a specific value for that cell.
- In the By Changing Variable Cells box, select the cells that Solver is allowed to change.
- Add your constraints one by one using the Add button. Each constraint says what a cell must be equal to, less than, greater than, or not equal to.
- Click Solve. Excel will try many different combinations and show you the best result.
- When Solver finishes, you can keep the solution or return to the original numbers.
In South Sudan, small business owners and farmers often face decisions about how to allocate limited money. A sorghum farmer in a boma near the Nile might want to know how much fertilizer to buy and how many bags of seed to plant to get the highest harvest, while staying within their budget and not exceeding the size of their land. Solver can help them make this decision by trying many combinations and showing which one gives the best result. Similarly, a clinic manager in Juba might use Solver to plan how many packets of medicines to order to serve the most patients while keeping total spending within the monthly budget.
Question
Which of the following is a limitation of Goal Seek that Solver can overcome?
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