Course contents · Chapter 3
AI GrowthChapter 3 of 42 min reading + practice

Keep formulas correct when the sheet changes

A correct calculation can become wrong if its range or references omit data after editing.

A correct calculation can become wrong if its range or references omit data after editing.

Check what happens when a row is copied, added or removed. Make reference behaviour part of the specification.

The bigger picture

A spreadsheet formula is a program operating on a particular data layout. Its meaning depends on cell references, value types and how missing or invalid entries are handled. A formula that returns a plausible total can still omit rows or count the wrong records.

  1. Describe table
  2. Write formula
  3. Test known cases
  4. Inspect references
A working model for this course. Use it to locate where a decision or failure occurs.

Concepts to keep close

Range
The cells a calculation reads.
Relative reference
A reference that changes when a formula is copied to another location.
Validation
Checking that an input or result meets a defined requirement.

Reasoning through the problem

Inspect the actual included range.

Add a known test expense.

Verify that copied formulas reference the intended cells.

Use the idea carefully

Describe columns, units and the intended calculation before asking for a formula. Test a small table where you know the answer independently. Add an empty row, a boundary value and invalid text. Inspect copied formulas and confirm that ranges expand as intended. Retain the original data and a note of the transformation.

Further reading & course resources

Original documentation and teaching references for further investigation.