New Tool Radar

AI for Data & Spreadsheets

How to Check an AI-Written Percent-Change Formula Against the Right Base

Check an AI-written percent-change formula to see whether it divides by the old value, not the new one.

Schematic with three steps: Read which value the formula divides by; Work out the change by hand; Fix the divisor and re-check the sign.

Percent change is (new minus old) divided by old, but an AI-written formula often divides by the new value instead, or by the wrong year’s figure. The result still looks like a percentage, so the error passes unnoticed into a report. Work out the change by hand from the two figures and compare it with the formula’s answer.

What you need

  • The AI-written percent-change formula
  • The old value and the new value it compares
  • A hand-worked percent change to compare against

Step 1: Read which value the formula divides by

Click the formula cell and read the divisor. For a change from an old value to a new value, the divisor must be the old value; if the formula divides by the new value, the percentage is wrong.

Step 2: Work out the change by hand

Subtract the old value from the new value, divide by the old value, and multiply by 100. Write the hand result down before comparing it with the formula.

Step 3: Fix the divisor and re-check the sign

Rewrite the formula with the old value as the divisor and check the sign: a rise must be positive and a fall must be negative. A sign that points the wrong way means the subtraction is backwards too.

Worked example: synthetic sales change, 200 to 250

The table below is a synthetic example. It shows the expected result of checking a percent-change formula; no formula was run.

Check Value Result
Old value 200 Base year
New value 250 This year
Hand-worked change +25% (250-200)/200
AI formula result +20% Divided by 250
Corrected result +25% Matches the hand result

Expected result (UNTESTED). the hand-worked change is +25%, but the AI formula returns +20% because it divides by the new value of 250 instead of the old value of 200. Correcting the divisor gives +25%. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • Percent change has no meaning when the old value is zero; the formula will divide by zero and error.
  • A fall from 200 to 100 is -50%, but the rise back from 100 to 200 is +100%; the two are not symmetric.
  • Rounding the percentage to whole numbers can hide a small real change; agree the decimals first.
  • Comparing a monthly figure with an annual one gives a meaningless percentage; check both values cover the same period.

Sources

See all