GRADE 7 · COMPUTING · UNIT 4 · LESSON 4.3

The power of data: Using data modelling

Modelling tools: Conditional formatting

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

6 fillable worksheet pagesRead at your own pace

LET’S TRACE, REASON AND TEST

Modelling tools: Conditional formatting

Conditional formatting changes a cell’s appearance when a rule is true. Check the calculated balance first, then test the rule on records that should match and records that should not. If the trip cost changes, formulae and their formatting results must be checked again.

Today’s two goals
  • Apply a conditional-formatting rule that highlights a zero balance in the school-trip model.
  • Test the rule using both fully paid and partly paid student records.
Original PaxaKids illustration for Modelling tools: Conditional formatting. Precise program text and data are supplied in the workbook models.
An original PaxaKids workbook scene. Use the supplied programs and data for precise workbook facts.

Explore the clues

Tap one card to find out more.

Understand the idea

Conditional formatting changes a cell’s appearance when a rule is true. Check the calculated balance first, then test the rule on records that should match and records that should not. If the trip cost changes, formulae and their formatting results must be checked again.

Concept to practise: Modelling tools: Conditional formatting.

Work through an example

For an invented trip cost of $550, a learner who has paid $550 has a zero balance. Increasing the cost to $600 changes that balance to $50. A rule for balance equal to zero should no longer highlight that learner as fully paid.

Try before your workbook

If a cell stays green after its balance changes from zero to $50, what should you investigate?

Check my readiness thinking

Check the rule’s condition and the cells it applies to, the balance formula and whether the workbook has recalculated. Test a zero-balance row and a nonzero row; use the displayed balance as well as colour.

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.

Make a formatting rule respond to data

Conditional formatting changes a cell’s appearance when a stated condition is met. In the trip model, apply green fill to a balance that is exactly zero.

The balance formula calculates the value. The formatting rule tests that value and changes the display. Manually painting a cell green does not create a rule that responds to later changes.

Create and check the exact-zero rule

  1. Open your completed trip model; preserve its formulae
  2. Select M2:M11, excluding the heading
  3. Open Conditional Formatting in the current Excel interface
  4. Choose a cell-value rule: equal to 0; green fill
  5. Check the applied range and test changing values

Enter the four payments in four months

Student 1 initially paid $300. These four new payments add another $300. Keep the source values and let the formula show the result.
Enter the four payments in four months — original model
Cell / monthStudent 1 payment
H2 / July$50
I2 / August$50
J2 / September$100
K2 / October$100

Compare exactly paid, unpaid and overpaid cases

Compare exactly paid, unpaid and overpaid cases — original model
IDPaidAt $550Green?At $600Green?
1$600-$50No$0Yes
2$550$0Yes$50No
3$310$240No$290No

Practice files for this lesson

Save a copy of these original PaxaKids learner files before editing in suitable software. Some code and datasets deliberately need completion or repair. Downloading a file does not run it. Use invented data; record actual tests separately from predictions. Native software practice files are not print-optimised; use the student PDF for printing.

Paxa the Fox

Try one step with Paxa!

Use supplied fictional records. Do not disclose personal details, upload private photos or bypass browser warnings to complete an activity. Save personal responses before leaving.

Our Unit 4 learning path
  1. Lesson 4.1: Data models, simulations and real-life scenarios
  2. Lesson 4.2: Spreadsheets: Using Microsoft Excel
  3. Lesson 4.3: Modelling tools: Conditional formatting
  4. Lesson 4.4: Databases: Using Microsoft Access
  5. Lesson 4.5: Database models: Setting up your data model
  6. Lesson 4.6: Collecting user data
  7. Lesson 4.7: Searching for the answers
  8. Lesson 4.8: Highlighting the important data
  9. Lesson 4.9: Modelling methods: Software choices
  10. Lesson 4.10: Database reports and grouped counts
  11. Lesson 4.11: What-If Analysis and Goal-Seek Analysis
  12. Lesson 4.12: Final project
  13. Lesson 4.13: Evaluation
  14. Lesson 4.14: What can you do?
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 the 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.

Modelling tools: Conditional formatting6 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 6 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.3 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 6 worksheets

Worksheet 1

  1. Question 1: What makes the green fill conditional? a rule tests the current cell value
  2. Question 2: Which balance meets a rule equal to zero? 0

Worksheet 2

  1. Question 3: Which range should receive the balance rule? M2:M11

Worksheet 3

  1. Question 4: What is Student 1’s new total paid, in dollars? 600
  2. Question 5: At trip cost $550, what is the new balance? Include a minus sign if needed. -50

Worksheet 4

  1. Question 6: When the cost rises from $550 to $600 with payments unchanged, what happens to every balance? it increases by $50
  2. Question 7: Why does Student 2 lose the green fill at cost $600? the balance becomes $50, so it is no longer zero

Worksheet 5

  1. Question 8: Apply the zero-balance rule to your completed trip model, or use the supplied formula-complete continuation starter. Enter Student 1’s four July–October payments. Vary other records to include an exactly paid case and an unpaid case. Record expected and actual balances/fill at $550 and again after changing P1 to $600. Save the tested file. Working native conditional-format rule, M2:M11 only, cell value equal0, green fill. Correct total/balance formulae still present and P1 shared absolutely. Four source values50,50,100,100 mapped H2:K2 July–October, not July–August. InitialS1 paid300 plus300 =600. Atcost550 balance-50, not green under exact-zero rule; at600 balance0, green. For original controlled extra test S2 H3=315 -> total550, balance0/green at550 and50/not green at600. S3 initially310 -> balances240/290, neither green. Other varied records accepted when consistent and both exactly paid and unpaid demonstrated. Expected before tests, actual native outputs and visual rule results recorded; rule range/equality criterion/source revision/changed cost and saved filename identified. No manual green paint substituted, no fabricated GUI observation or numeric scores. Grown-up review; personal evidence is required.

Worksheet 6

  1. Question 9: Explain how changing a payment or the trip cost updates totals, balances and the zero-balance formatting. Use one exactly paid case and one unpaid or overpaid case from your tests. State why Student 1 is not green at $550 after the four additions but is green at $600. Name the saved version and any correction you made to a formula, rule or range. Input -> SUM total -> absolute-cost-minus-total balance -> exact-zero conditional fill chain correctly explained. Payment change affects that student, cost change affects all balances; fill is based on resulting values, not a guarantee or manual colour. Concrete own-file cases with expected/actual evidence, exactly paid plus unpaid/overpaid. S1 initial300+50+50+100+100=600;550-600=-50 not equal0,600-600=0 green. Four months mapping explicit, no changing values to force presumed source outcome. Correct formula/range/equality rule and actual saved version; repairs and retests recorded or no repair needed stated. No numeric scores. Grown-up review; personal evidence is required.
Back to my workbook ↑

Curriculum & workbook reference

Computing for your homeschool day

Explore Modelling tools: Conditional formatting with this free Grade 7 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

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.

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.

The book pages identify the related teaching topic. 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.