GRADE 8 · COMPUTING · UNIT 2 · LESSON 2.3

Managing data

Spreadsheet models and what-if changes

Read a little. Try the workbook. Check your answers. Choose one section below to get started.

Topic 2.3 · Spreadsheet models and what-if changes12 fillable worksheet pagesRead at your own pace

LET’S TRACE, REASON AND TEST

Spreadsheet models and what-if changes

A spreadsheet model links inputs with formulas. What-if analysis changes a stated input and compares the recalculated output. Keep other assumptions clear and distinguish a modelled result from a real business forecast.

Today’s two goals
  • Track how changes to price, cost or number sold affect profit while other assumptions remain fixed.
  • Explain my method and support it with a labelled trace, example or test record.
Original PaxaKids illustration for Spreadsheet models and what-if changes. Use the supplied program and data models for precise workbook facts.
An original PaxaKids workbook scene. Use the supplied programs and data for precise workbook facts.

Work through an example

In a simple model with 6 items, selling price 4 and unit cost 2, surplus = 6 × (4 - 2) = 12. Raising price to 5 gives 18 if quantity and cost stay unchanged; demand is an assumption.

Try before your workbook

What happens if unit cost rises to 3 while quantity is 6 and price remains 4?

Explore the clues

Tap one card to find out more.

Understand the idea

A spreadsheet model links inputs with formulas. What-if analysis changes a stated input and compares the recalculated output. Keep other assumptions clear and distinguish a modelled result from a real business forecast.

Concept to practise: Spreadsheet models and what-if changes.

Work through an example

In a simple model with 6 items, selling price 4 and unit cost 2, surplus = 6 × (4 - 2) = 12. Raising price to 5 gives 18 if quantity and cost stay unchanged; demand is an assumption.

Try before your workbook

What happens if unit cost rises to 3 while quantity is 6 and price remains 4?

Check my readiness thinking

The modelled surplus becomes 6 × (4 - 3) = 6. This simple calculation does not include overheads or predict how demand changes.

Your original programs and learning models

These original PaxaKids program and data models support your workbook. Some examples deliberately contain faults to investigate. Follow their headings and preserve exact code case, punctuation and order. Traces and supplied records are not claims of physical testing.

Use a spreadsheet to ask what if

A spreadsheet model links inputs to calculated outputs. What-if analysis changes an input and observes its effect while other stated assumptions remain fixed.

Our original fictional school café model calculates revenue, modelled cost and surplus for four products. Surplus here excludes overheads, waste and unsold stock. It is not a promise of a real café’s profit. Prices and costs use fictional money units.

Keep the complete baseline inputs

Use the supplied original Cafe Model file or rebuild these inputs. The editable calculation sheet is Cafe; Baseline preserves the original data for restoration. On Cafe, row 1 contains headers, and rows 2–5 hold the products in this order. Keep these starting values unchanged in Baseline.
Keep the complete baseline inputs — original model
A: ProductB: Unit costC: Sale priceD: Units sold
Fruit cup0.801.5040
Oat bar0.601.2050
Lemon drink0.351.0060
Cheese roll1.102.0030

Make formulas show the calculation steps

On Cafe add E1 Revenue, F1 Cost and G1 Surplus. Enter the row 2 formulas below, then fill E2:G2 down through row 5. The row references must change with each product. Row 6 totals only the calculated detail rows.
Make formulas show the calculation steps — original model
CellMeaningFormula
E2Revenue: price × units=C2*D2
F2Cost: unit cost × units=B2*D2
G2Surplus: revenue − cost=E2-F2
E6Total revenue=SUM(E2:E5)
F6Total cost=SUM(F2:F5)
G6Total surplus=SUM(G2:G5)

Calculate and check the baseline results

Calculate each surplus from the supplied inputs and formulas. Revenue is price × units; cost is unit cost × units. All units are sold, with no overheads or waste. Format money to two decimal places.
Calculate and check the baseline results — original model
ProductRevenueCostSurplus
Fruit cup60.0032.00{'clue': 'Surplus', 'prompt': 'Baseline surplus Fruit cup', 'answers': ['28', '28.0']}
Oat bar60.0030.00{'clue': 'Surplus', 'prompt': 'Baseline surplus Oat bar', 'answers': ['30', '30.0']}
Lemon drink60.0021.00{'clue': 'Surplus', 'prompt': 'Baseline surplus Lemon drink', 'answers': ['39', '39.0']}
Cheese roll60.0033.00{'clue': 'Surplus', 'prompt': 'Baseline surplus Cheese roll', 'answers': ['27', '27.0']}

Run a fair, repeatable what-if comparison

Change one input for each independent trial. Restore the baseline before starting another trial, keep all other inputs fixed and preserve the formulas. The supplied file flags missing, negative or non-whole quantity inputs; use valid values before interpreting results.
  1. Record the baseline and make a prediction
  2. Change the one named input cell
  3. Read the recalculated product and total outputs
  4. Record the result, then restore baseline inputs

Worked trial: raise one product’s selling price

Starting from baseline, change only Fruit cup sale price C2 from 1.50 to 1.75. Its unit cost remains 0.80 and quantity remains 40. Calculate the new revenue and surplus, compare with the old surplus 28.00, and update the overall surplus. Other products remain at baseline.
Original input, process and output model
StageAction
InputsCost 0.80; price 1.75; quantity 40
ProcessRevenue minus modelled cost
OutputsNew product surplus and total

Compare price, cost and quantity trials

Restore the complete baseline before each row. Change only the named cell. Calculate the affected product’s surplus and the new total. These are independent trials, not a sequence of accumulated changes.
Compare price, cost and quantity trials — original model
Single baseline changeNew product surplusNew total surplus
Oat bar C3 -> 1.35{'clue': 'Surplus', 'prompt': 'Oat bar C3 -> 1.35 product', 'answers': ['37.5', '37.5']}{'clue': 'Total', 'prompt': 'Oat bar C3 -> 1.35 total', 'answers': ['131.5', '131.5']}
Lemon drink B4 -> 0.50{'clue': 'Surplus', 'prompt': 'Lemon drink B4 -> 0.50 product', 'answers': ['30', '30.0']}{'clue': 'Total', 'prompt': 'Lemon drink B4 -> 0.50 total', 'answers': ['115', '115.0']}
Cheese roll D5 -> 40{'clue': 'Surplus', 'prompt': 'Cheese roll D5 -> 40 product', 'answers': ['36', '36.0']}{'clue': 'Total', 'prompt': 'Cheese roll D5 -> 40 total', 'answers': ['133', '133.0']}

Complete two further C09 investigations

Restore baseline before each row. Raising Oat bar unit cost changes B3 only; selling more Lemon drinks changes D4 only. Hold all other source inputs and the stated model assumptions fixed.
Complete two further C09 investigations — original model
Single baseline changeNew product surplusNew total surplus
Oat bar B3 -> 0.75{'clue': 'Surplus', 'prompt': 'Oat bar B3 -> 0.75 product', 'answers': ['22.5', '22.5']}{'clue': 'Total', 'prompt': 'Oat bar B3 -> 0.75 total', 'answers': ['116.5', '116.5']}
Lemon drink D4 -> 80{'clue': 'Surplus', 'prompt': 'Lemon drink D4 -> 80 product', 'answers': ['52', '52.0']}{'clue': 'Total', 'prompt': 'Lemon drink D4 -> 80 total', 'answers': ['137', '137.0']}

Interpret the result with its assumptions

The model is useful for comparing explicitly stated input changes. It assumes the entered number of units is sold, unit costs stay fixed unless changed, and price changes do not alter quantity by themselves.

Real demand, unsold goods, overheads, staffing and capacity may matter outside this model. A larger calculated surplus is therefore a model result to investigate, not a guaranteed business outcome.

Preview target seeking as a different question

Ordinary what-if: choose a new input, then observe the output. Goal seek: specify a desired formula result, then find a changing input. The next workbook develops target seeking. This original planning example identifies the three fields; it does not claim a Goal Seek action was performed.
Original input, process and output model
StageAction
Formula cellCafe G2 calculates Fruit cup surplus
Desired valueTarget surplus: 40 money units
Changing inputCafe C2: Fruit cup sale price

Files for this activity

Use these original PaxaKids practice files with the matching workbook. Work on a local copy in the appropriate editor. Some examples deliberately contain faults to investigate; a downloaded file is not a completed practical test.

Paxa the Fox

Try one step with Paxa!

Trace code in the stated order and preserve exact spelling and case. Use fictional data. Label a prediction, paper trace, simulator run and physical-device test separately; an unperformed test stays Pending. Save personal responses before leaving.

Our Unit 2 learning path
  1. Lesson 2.1: Models, simulators and useful features
  2. Lesson 2.2: Data for users and model designers
  3. Lesson 2.3: Spreadsheet models and what-if changes
  4. Lesson 2.4: Goal seek and checking a target
  5. Lesson 2.5: Data requirements and completeness
  6. Lesson 2.6: Fields, records and consistent formats
  7. Lesson 2.7: Presence checks and primary keys
  8. Lesson 2.8: Length and range checks
  9. Lesson 2.9: A validated entry form
  10. Lesson 2.10: Evaluating and designing a database
  11. Lesson 2.11: Project: Presentation time!
  12. Lesson 2.12: Check your progress 2
For grown-ups: using this lesson

Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.

Read one explanation, discuss the model and try the readiness check before the workbook. Choose “Mark lesson finished” when ready. Optional account progress saves lesson position and completion across devices; save personal responses before leaving.

2. Fill in your workbook

Read the teaching and complete workbook instructions. Choose, write or draw; Answer list offers larger controls. Trace code precisely and distinguish predictions from actual tests. Review designs, explanations and drawings with a grown-up.

Spreadsheet models and what-if changes12 student pages · original artwork

Opening your PDF…

Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.

TAKE YOUR PRACTICE OFFLINE

3. Download the student worksheet

All 12 original A4 student pages, ready for pencil-and-paper practice. Choose Review Answers to check your work on this webpage.

Student worksheet only · PDF · 8.4 MiB · No answer key included

Download worksheet PDF ↓

TRY FIRST, THEN CHECK TOGETHER

Download the student worksheet →

4. Answers & guidance

Finished your try? Open the guide and compare one worksheet at a time. Your own words may be different and still explain the right idea.

Shown on this webpage only. There is no answer-key download, and this guide is left out when printing the page.

Show answers for all 12 worksheets

Worksheet 1

  1. Question 1: What does an ordinary what-if trial begin with? a stated input change whose effect will be examined

Worksheet 2

  1. Question 2: What is the Fruit cup baseline unit cost? 0.80 / 0.8
  2. Question 3: What is the Fruit cup baseline sale price? 1.50 / 1.5
  3. Question 4: How many Fruit cups are sold in the baseline? 40

Worksheet 3

  1. Question 5: Write the filled revenue formula that belongs in E5. =C5*D5
  2. Question 6: Write the total surplus formula for G6. =SUM(G2:G5)

Worksheet 4

  1. Question 7: Baseline surplus Fruit cup 28 / 28.0
  2. Question 8: Baseline surplus Oat bar 30 / 30.0
  3. Question 9: Baseline surplus Lemon drink 39 / 39.0
  4. Question 10: Baseline surplus Cheese roll 27 / 27.0
  5. Question 11: What is the baseline total revenue? 240 / 240.00
  6. Question 12: What is the baseline total surplus? 124 / 124.00

Worksheet 5

  1. Question 13: Why restore the baseline before the next independent question? to isolate that question’s named change
  2. Question 14: Which cells are ordinary editable inputs in Cafe? B2:D5

Worksheet 6

  1. Question 15: What is the new Fruit cup revenue? 70 / 70.00
  2. Question 16: What is the new Fruit cup surplus? 38 / 38.00
  3. Question 17: How much does that surplus increase? 10 / 10.00
  4. Question 18: What is the new total surplus for all products? 134 / 134.00

Worksheet 7

  1. Question 19: Oat bar C3 -> 1.35 product 37.5 / 37.5
  2. Question 20: Oat bar C3 -> 1.35 total 131.5 / 131.5
  3. Question 21: Lemon drink B4 -> 0.50 product 30 / 30.0
  4. Question 22: Lemon drink B4 -> 0.50 total 115 / 115.0
  5. Question 23: Cheese roll D5 -> 40 product 36 / 36.0
  6. Question 24: Cheese roll D5 -> 40 total 133 / 133.0
  7. Question 25: For the Oat bar price trial, how much does total surplus increase? 7.5 / 7.50
  8. Question 26: For the Lemon drink cost trial, how much does total surplus decrease? 9 / 9.00

Worksheet 8

  1. Question 27: Oat bar B3 -> 0.75 product 22.5 / 22.5
  2. Question 28: Oat bar B3 -> 0.75 total 116.5 / 116.5
  3. Question 29: Lemon drink D4 -> 80 product 52 / 52.0
  4. Question 30: Lemon drink D4 -> 80 total 137 / 137.0
  5. Question 31: In the larger-quantity trial, what happens to the product’s modelled cost? it also increases because more units are costed
  6. Question 32: Why might real sales differ after a price increase? customer demand may change, unlike the fixed-quantity assumption

Worksheet 9

  1. Question 33: What supports a careful conclusion from a what-if trial? the changed input, fixed assumptions and recalculated outputs

Worksheet 10

  1. Question 34: Which cell is the target formula cell in this example? G2 / Cafe!G2
  2. Question 35: Which cell is the changing input in this example? C2 / Cafe!C2
  3. Question 36: How does this target question differ from ordinary what-if? the desired output is known and an input is sought

Worksheet 11

  1. Question 37: Use or recreate the complete original Cafe Model workbook with its four input rows, relative row formulas and totals. Keep the source baseline unchanged. Predict and run the Fruit cup worked trial and all five further trials on pages 7–8, restoring baseline each time. Record changed cell/value, fixed inputs, expected and actual product/total surplus or Pending, comparison, corrections and retests. Preserve full formula-bearing source and evidence copies or logs. Explain what was tested in an actual spreadsheet and what was a paper calculation. Cite attached evidence and your contribution here. Complete original four-product model, Cafe A1:G6 consistent with source data, row2 E=C*D/F=B*D/G=E-F correctly filled to5, row6 SUM2:5. Baseline revenue240/cost116/surplus124, source baseline preserved and restored before each independent trial. Fruit price1.75 ->product38,total134; Oat price1.35 ->37.5/131.5; Lemon cost0.50 ->30/115; Cheese quantity40 ->36/133; Oat cost0.75 ->22.5/116.5; Lemon quantity80 ->52/137. Predict before actual supported-spreadsheet results or Pending, full formulas/versions/logs and correction/retests retained. Paper calculations not GUI evidence, author native Excel checks not learner completion. Own contribution and actual evidence cited. Grown-up review; personal evidence is required.

Worksheet 12

  1. Question 38: Explain why increasing price, increasing unit cost and increasing units sold affect the model differently, using specific baseline and trial values. Design one new single-input what-if question, predict its result, run it or mark Pending, and keep a baseline-restored record. Explain at least two important model limitations and one extra data item that could improve a future model. Contrast this input-first investigation with the page 10 output-target question. Record actual review/feedback or Pending, one correction or improvement and your next step. Attach full evidence and cite it here. Explanations use surplus=(price-cost)*quantity and the worked evidence: price increase raises revenue at fixed unit cost/quantity; cost increase reduces surplus at fixed price/quantity; more units changes both revenue and cost, with effect depending on margin. New precise valid single-input question, baseline restored, predicted and actual/Pending output and retained formula/log evidence. At least2 limits such as demand fixed despite price, overheads/waste/capacity excluded, units all sold; relevant extra data and justified improvement. Ordinary what-if starts known input change, goal seek starts target formula output and seeks linked input. Actual review/feedback or Pending, own contribution, meaningful correction/improvement and next step, no invented practical outcome or universal business guarantee. Grown-up review; personal evidence is required.
Back to my workbook ↑

Curriculum & workbook reference

Computing for your homeschool day

Explore Spreadsheet models and what-if changes with this free Grade 8 Computing lesson. Read one idea together, try the fillable workbook and return to review at your own pace. Download the same student worksheet PDF for pencil-and-paper practice.

Fit learning around your family’s day. There is no timer and no sign-up is needed to use the lesson. An optional account saves your lesson position and completion across devices. Workbook responses and drawings stay in this tab; save a copy of your responses before leaving.

Understand your results

Closed answers are checked in your browser. Drawings and written explanations need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.

Choose Review Answers after trying the activity. The guide stays on the webpage; the worksheet download contains only the student pages.

For programme background, visit the Cambridge Lower Secondary Computing overview. PaxaKids provides independent original companion practice.

Book page references identify the related teaching topic. File-management and responsible-data preparation are original PaxaKids material; orientation or contents pages are not presented as teaching citations for those skills. The explanations, characters, programs and exercises here are original PaxaKids companion practice. Practical tasks require the appropriate editor and, where applicable, suitable equipment. A design or paper trace is not a verified hardware result. Only completed, reviewed lessons are listed.

Explore the Cambridge Lower Secondary Computing curriculum for programme background. PaxaKids is an independent learning resource.