A plausible formula should be tested on values whose answers you can calculate independently.
Use ordinary, zero and boundary cases. Distinguish a syntax error from a formula that runs but calculates the wrong thing.
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.
- Describe table
- Write formula
- Test known cases
- Inspect references
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
Write the intended arithmetic in plain language.
Calculate 3 × 20 by hand.
Test zero quantity and another non-zero row.
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.