Find a Required Final Mark With Excel Goal Seek
Sometimes you know the final mark you want and need the one input that would produce it. In this fictional practice, the quiz and project marks are fixed and the final mark is 58. Goal Seek can find the trial exam mark that makes the final mark 75.
The weights below (20%, 30%, 50%) are made up for this exercise. They are not any school's marking policy.
Start from a blank practice workbook
Use desktop Excel on a computer, with a new blank workbook of your own that holds no school marks. Look for the Data tab with a What-If Analysis button. This page has not been checked for Excel on the web, on a phone, or in any particular release.
Type labels in A2 to A5 if you like: Quiz mark, Project mark, Trial exam mark, Final mark. Then enter these cells:
| Cell | Contents | Shows |
|---|---|---|
| B2 | 60 (typed number) | 60 |
| B3 | 70 (typed number) | 70 |
| B4 | 50 (typed number) | 50 |
| B5 | =0.2*B2+0.3*B3+0.5*B4 | 58 |
Check the 58 yourself: 0.2 x 60 = 12, 0.3 x 70 = 21 and 0.5 x 50 = 25, and 12 + 21 + 25 = 58. Write down the starting exam mark, 50, because Goal Seek will replace it.
Work out the answer first
The quiz and project parts add 12 + 21 = 33. For a final mark of 75, the exam part must supply 75 - 33 = 42. The exam is worth 50%, so the exam mark is 42 / 0.5 = 84. Keep that number to compare against Goal Seek's answer.
Run Goal Seek
- On the Data tab, open What-If Analysis (in some layouts it sits in the Forecast group), then choose Goal Seek.
- In Set cell, enter
B5, the cell holding the formula. - In To value, type
75, the final mark you want. - In By changing cell, enter
B4, the one input to adjust. - Read the three boxes against the steps above. Only then click OK.
Microsoft says the changing cell must be referenced by the formula in the Set cell box. B5 refers to B4, so the choice is allowed.
Expected state and how to check it
| Cell | Contents | Shows |
|---|---|---|
| B2 | 60, unchanged | 60 |
| B3 | 70, unchanged | 70 |
| B4 | a typed number, replaced by Goal Seek | 84 |
| B5 | still the formula =0.2*B2+0.3*B3+0.5*B4 | 75 |
- Read B4. It should match your worked 84.
- Click B5 and read the formula bar. It must still show the formula, not a bare 75.
- Redo the sum without Excel: 12 + 21 + 42 = 75, where 42 is 0.5 x 84.
- Confirm B2 is still 60 and B3 is still 70.
The Microsoft page does not say how exactly Goal Seek matches a target or show this worksheet. If B4 or B5 is clearly different from 84 and 75, treat the run as not accepted and go to the way back below.
A common wrong result
The tempting shortcut is typing 75 straight into B5. It looks right, since B5 shows 75, but B4 is still 50 and the formula has been overwritten by a plain number. Nothing was solved, and B5 will no longer react if a mark changes.
| Check | Typed 75 in B5 | Goal Seek on B5, changing B4 |
|---|---|---|
| B4 | 50 | 84 |
| B5 formula bar | 75 | the formula |
Two nearby slips are also wrong: putting B4 in Set cell and B5 in By changing cell (B4 holds a typed number, not a formula), and entering 75 as if it were the exam mark. 75 is the target final mark. The exam mark that gets there is 84.
One input, and targets that may not make sense
Goal Seek adjusts one input. Microsoft names the Solver add-in for more than one, and this page does not use it. Here B2 and B3 are fixed on purpose.
The supplied Microsoft text mentions no 0 to 100 range, so this page makes no claim that Excel adds or ignores one. You judge whether an answer is a sensible mark. Try the arithmetic for a target of 95: 95 - 33 = 62 and 62 / 0.5 = 124, an exam mark above 100. Even a perfect 100 only gives 12 + 21 + 50 = 83, so a target above 83 cannot be met by this exam mark within 0 to 100.
The text also does not describe what Excel shows when it cannot find an answer. If a result looks odd, do the sum by hand before accepting it.
Safe stop and the way back
Before clicking OK, nothing has been asked to change, so correct any box that disagrees with the steps. After OK, B4 holds Goal Seek's number. The Microsoft page as supplied describes no undo or cancel step, so do not rely on one.
To restore the practice, type 50 into B4 yourself. B5 should show 58 again, because it is still a formula. If anything else looks wrong, stop and discard the practice workbook without saving it. It is yours and holds nothing real.
Where this differs from nearby tools
AutoSum builds a total formula and Trace Precedents shows which cells feed a formula. Goal Seek does neither. It starts with a formula that exists and finds the value of one input cell that gives a chosen result.
This is editing a practice workbook only. It is not sharing, handing in work or assessment, and it does not predict a real mark. Follow your teacher's own task and marking rules separately.
Common questions
Which cell does Goal Seek change in this practice?
Only B4, the trial exam mark. B5 is the formula you are aiming at, and B2 and B3 stay as typed. Goal Seek adjusts one input cell for one target result.
Why must the Set cell hold a formula?
Goal Seek works backwards from a formula result. Microsoft says to start from a formula, and the cell it changes must be referenced by that formula. Here B5 refers to B4, so B4 qualifies.
Can I change the quiz and the exam mark at the same time?
Not with Goal Seek. Microsoft says it works with one variable input value and points to the Solver add-in for more than one. This page does not cover Solver.
Does 84 mean a student will really get 75?
No. The 20%, 30% and 50% weights are invented for this practice. They are not any school's rule, so the 84 says nothing about a real mark, a real exam or a real report.
What if I clicked OK and want the old exam mark back?
Type 50 into B4 yourself, then confirm B5 shows 58 again. The Microsoft page as supplied does not describe an undo step, so this page does not depend on one.
Sources
Checked against a supplied text copy of the Microsoft page, because the page itself could not be opened from the author's network. It supports the ribbon path, the three boxes, one variable, and the rule that the changing cell is referenced by the formula. Its own example is a loan payment, not marks. The marks, weights and arithmetic here are this page's own, and the practice has not been run in Excel.
- Microsoft Support: Use Goal Seek to find the result you want by adjusting an input value, Set cell, To value, By changing cell, one variable.