KS5H019/H119 F202 TA4 30 min read 10 question quiz 14 marks of written practice

F202 TA4: Testing and Delivering the Outcomes

Testing the model

Testing is carrying out the test plan, recording what actually happened, fixing what failed, and testing it again.

Evidence that convinces

  • A screenshot of the inputs and the outputs for each test, labelled with the test number.
  • The formula view of the calculation being tested: Formulas, Show Formulas, or Ctrl+` in Excel.
  • Before and after screenshots of anything that failed and was fixed, plus the retest.
  • Annotations saying what each screenshot proves.

Tools that find faults

ToolWhat it does
Trace PrecedentsDraws arrows to the cells a formula uses
Trace DependentsDraws arrows to every cell that uses this one
Evaluate FormulaSteps through a formula one part at a time
Error CheckingFlags inconsistent formulas and numbers stored as text
Show FormulasDisplays every formula instead of its result

Error values, and what they usually mean

ErrorMeaningA typical cause in a model
#DIV/0!Division by zeroBreak-even tickets when the price equals the cost per head
#N/AA value is not availableA lookup that found nothing
#VALUE!The wrong type of valueText in a cell used in arithmetic
#REF!A reference is no longer validA row or sheet the formula used has been deleted
#NAME?An unrecognised nameA misspelt function or an undefined named range
#NUM!An impossible numberA calculation with no valid answer
#####The column is too narrowNot an error in the value at all: widen the column
Circular referenceA formula depends on itselfA cost calculated from the profit it feeds into
A failed test is good evidence

A log in which every test passes first time is not believable, and suggests the tests were chosen to pass. Record the failure, the cause, the fix and the retest: that is the process the assessment is looking for.

User acceptance testing

Give the client or real users tasks, not a tour: "The committee wants to know the profit if only 400 people would come even for free. Find out." Watch, do not help, and note every hesitation. Then record what they said and what you changed because of it.

Presenting the outcomes

The client did not ask for a spreadsheet. They asked a question, and the model exists to answer it. Delivering the outcomes means presenting that answer clearly enough to act on.

A spreadsheet dashboard, annotatedA one screen dashboard for the ticket model, with its design decisions annotated. Across the top, a scenario drop-down set to Expected, built with a validation list. Below it, four tiles in order of importance: profit 2,075 pounds, highlighted; tickets 270 of 400; break-even prices 15 pounds to 40 pounds 65; and 130 spare places. A small chart of profit against price marks where the current price sits on the curve. A side panel holds a ticket price control set to 27 pounds 50, a status box reading PROFIT, and a button labelled 'Find price for target', which runs a macro. The annotations explain each choice: the four numbers the client asked for, most important first; conditional formatting that turns the tile and status red when profit falls below zero; the chart showing the current price in context; the drop-down that switches scenario; and a macro button that runs Goal Seek for users who would never open the Goal Seek dialog themselves.A dashboard: the decisions the client needs, on one screenHarbour Lights · DashboardScenario: ExpectedPROFIT£2,075TICKETS270 / 400BREAK-EVEN£15.00–£40.65SPARE PLACES130current priceprofit against priceTicket price£27.50a scroll bar form controlPROFITFind price for target123451Four numbers the client askedfor, most important first2Conditional formatting turnsthe status red below £03The chart shows where thecurrent price sits4A validation drop-downswitches the scenario5A macro button runs Goal Seekfor users who never would
Design the dashboard for the client's decision, not to show off every feature you used.

A recommendation built from the model

A worked recommendation, for the invented festival brief

At the expected demand, a price of £27.50 makes the most profit, £2,075, from 270 tickets. The profit curve is flat near the top, so a round £25 or £30 makes £2,000, only £75 less. The risk is in the demand survey: if 10% fewer people want to come, profit at £27.50 falls to £725, and in the pessimistic scenario the festival loses £845. I recommend £25. It sells 300 tickets at the expected demand, keeps the event affordable, and does better than £27.50 if demand is weak: £800 rather than £725 with 10% less demand, and a loss of £700 rather than £845 in the pessimistic case. Before deciding, the committee should test the survey with a short pre-sale.

What makes that a strong recommendation:

  • It answers the client's question directly, in the first sentence.
  • It quotes the model's outputs, with units.
  • It states the uncertainty, using the scenarios and the sensitivity analysis.
  • It makes a decision and justifies it with the numbers.
  • It says what would make the decision more certain.

Choosing how to present

AudienceFormat
A busy client who wants a decisionA one-screen dashboard and a short written recommendation
A committee meetingThree or four slides: the question, the answer, the risk, the recommendation
The people entering dataA user guide with annotated screenshots
Whoever maintains the modelTechnical documentation

The user guide and the technical documentation

Two documents, for two different readers.

User guideTechnical documentation
ReaderThe people who use the modelWhoever maintains or extends it
PurposeUse it correctly without helpUnderstand how it works and change it safely
ContentsWhat the model is for; opening it and enabling macros; entering inputs; running scenarios and Goal Seek; reading the outputs; what each message means; what to do when something goes wrongThe sheet structure; every named range; every formula and why it is there; the validation rules; the macro code, commented; protection, and where passwords are kept; assumptions and their sources; the version history
StylePlain English, numbered steps, annotated screenshotsPrecise and complete; tables are fine

Writing a user guide people can follow

  1. One task per section, named the way a user would say it: "Change the ticket price".
  2. Numbered steps, one action in each.
  3. A screenshot for every step that involves finding something, with the place to click marked.
  4. What the user should see when it has worked.
  5. The common problems, and the fix for each: "The cell will not accept my value" means the value is outside the allowed range.

Test the guide the way you test the model: give it to somebody who has never seen the model, and watch them follow it.

Version control

Save numbered versions as you go, festival-model-v01.xlsx, v02 and so on, and keep a short log of what changed in each. It protects against lost work, shows how the model developed, and lets you go back when a change makes things worse.

Sources and further reading

Key terms you must be able to define

Test log
The record of each test carried out, with expected and actual results and any action taken.
Trace precedents
An auditing tool that shows the cells a formula takes its values from.
Trace dependents
An auditing tool that shows every cell that uses a given cell.
Error value
A result such as #DIV/0! or #N/A that shows a formula could not be calculated.
Circular reference
A formula that depends, directly or indirectly, on its own cell.
Dashboard
A single screen summarising the outputs a client needs to make a decision.
Recommendation
A justified decision for the client, drawn from the model's outputs and their uncertainty.
User guide
Documentation that tells users how to operate the model, in plain language.
Technical documentation
Documentation that explains how the model works, so it can be maintained and changed.
Version control
Saving numbered versions with a record of changes, so earlier versions can be recovered.

Flashcards

DefineTest log
AnswerThe record of each test carried out, with expected and actual results and any action taken.
DefineTrace precedents
AnswerAn auditing tool that shows the cells a formula takes its values from.
DefineTrace dependents
AnswerAn auditing tool that shows every cell that uses a given cell.
DefineError value
AnswerA result such as #DIV/0! or #N/A that shows a formula could not be calculated.
DefineCircular reference
AnswerA formula that depends, directly or indirectly, on its own cell.
DefineDashboard
AnswerA single screen summarising the outputs a client needs to make a decision.
DefineRecommendation
AnswerA justified decision for the client, drawn from the model's outputs and their uncertainty.
DefineUser guide
AnswerDocumentation that tells users how to operate the model, in plain language.

Reach the top grade on this topic

  • Carry out the whole test plan and record actual results honestly, failures included
  • Show the fix and the retest for every failure
  • Use the formula auditing tools and the formula view as evidence
  • Present a recommendation that answers the client's question and states the uncertainty
  • Write a user guide for users and technical documentation for maintainers, and test both

Mistakes that cost marks here

Avoid these
  • A test log in which every test passed first time.
  • Screenshots with no explanation of what they prove.
  • Presenting the spreadsheet itself as the outcome, with no recommendation.
  • Reporting one profit figure as if it were certain, ignoring the scenarios.
  • A user guide written in technical language, or technical documentation with no formulas in it.
  • Hiding errors with IFERROR instead of fixing their cause.
Fun fact

In 2012 a bank's risk model, built partly by copying and pasting between spreadsheets, divided by a sum where it should have divided by an average. It understated the risk on trades that went on to lose billions of dollars.

Knowledge check

0 of 10 answered
1A cell shows #####. What is the most likely cause?
2What does #REF! usually mean?
3What does #NAME? usually mean?
4Which tool shows the cells a formula takes its values from?
5Why should a test log include failed tests?
6What is user acceptance testing?
7Which belongs in the technical documentation rather than the user guide?
8What makes a recommendation strong?
9A formula's result depends on its own cell. This is:
10What is the best evidence that a formula works?
Score 0 / 10

Check you could explain this

14 marks
1Describe the evidence that should be recorded when testing a spreadsheet model.4 marks
Describe

Mark scheme0 / 4
  • LEach test's number, purpose and test data
  • LThe expected result, worked out before the test
  • LThe actual result, with screenshots or the formula view
  • LFailures, with the fix and a retest
Model answer

Each test should be recorded with its number, its purpose and the exact test data used, so it can be repeated. The expected result should have been worked out by hand before the test was run, so there is an independent answer to compare against. The actual result should be recorded and backed by evidence, such as a screenshot of the inputs and outputs and the formula view of the calculation being tested, annotated to say what it shows. Where a test fails, the record should give the cause, the change made and the result of the retest, because a fix that has not been retested has not been shown to work.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.

Think this answer or mark scheme is wrong? Report it

2Explain the difference between a user guide and technical documentation for a spreadsheet model.4 marks
Explain

Mark scheme0 / 4
  • LA user guide is for the people who use the model
  • LIt explains tasks in plain language, with steps and screenshots
  • LTechnical documentation is for whoever maintains or changes the model
  • LIt explains how it works: formulas, named ranges, macros, validation
Model answer

A user guide is written for the people who will use the model, such as volunteers entering a price, and explains how to carry out each task in plain language, with numbered steps, annotated screenshots and what to do when something goes wrong. Technical documentation is written for whoever has to maintain or change the model later, and explains how it works rather than how to use it: the structure of the sheets, every named range and formula and why it is there, the validation rules, the macro code and the assumptions with their sources. The difference is the reader: one needs to operate the model without help, the other needs to change it without breaking it.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.

Think this answer or mark scheme is wrong? Report it

3The festival model shows that a ticket price of £27.50 makes the most profit at the expected demand.Explain why the client should not simply be told to charge £27.50.6 marks
Explain

Mark scheme0 / 6
  • LThe result depends on assumptions, especially the demand survey
  • LSensitivity: profit depends strongly on demand
  • LThe pessimistic scenario makes a loss at that price
  • LThe curve is flat near the top, so other prices are nearly as good
  • LOther factors outside the model matter
  • LThe recommendation should give a range or a justified choice with its uncertainty
Model answer

£27.50 is only the best price if the model's assumptions are right, and the most important assumption, how many people come at each price, is an estimate from a survey. The sensitivity analysis shows how much rests on it: if 10% fewer people want to come, profit at £27.50 falls from £2,075 to £725, and in the pessimistic scenario the event makes a loss of £845. The profit curve is also flat near the top, so £25 and £30 both make £2,000, only £75 less than the maximum, and £25 actually does better than £27.50 when demand is weak. There are also things the model does not include at all, such as whether the price is affordable for a community event, the weather and competing events. So rather than a single number, the client should be given a recommendation with its reasoning and its risk: for example £25, with the evidence that it gives up little profit in the expected case and loses less if demand disappoints, and a suggestion to test the survey with a pre-sale before committing.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.

Think this answer or mark scheme is wrong? Report it

Machine mark 0 / 14