LearnWithZavi home

Ground Rules ยท Lesson 2

Why You Cannot Trust AI With Arithmetic

A plausible number is not a verified one. Check the source data, calculation method and outputs.

What is actually happening when it gives you a total

A confident total in a chat reply is not evidence that the right rows were calculated. A text-only answer may be generated without running a calculation. Code-backed analysis is different: ChatGPT can write and execute Python for some data-analysis tasks. Do not assume every reply uses that capability.

Even executed code can use the wrong range, omit a row, change a sign or apply the wrong assumptions. Review the source data, code or formula, row coverage and output. OpenAI's data-analysis guidance recommends reviewing generated code, outputs and assumptions.

In plain English

Token:
The small chunk of text a model works in. Numbers get chopped into pieces, which is part of why digits go astray.
Plausible output:
Text that has the shape and tone of a right answer. Shape and correctness are entirely separate properties.
Silent failure:
An error that produces no warning, no error message and no visible symptom. The most expensive kind.
Tool use:
Some AI products can run a real calculator or write and execute code. That is a genuine improvement, and it still needs checking.

Three ways it goes wrong

It gets simple sums wrong, confidently. Not always, and not predictably. That unpredictability is the point. If it failed every time you would catch it immediately. It fails occasionally, in the same steady tone it uses when it is right.

It drops rows. Give it ninety transactions to summarise and it may summarise eighty-four. Nothing announces this. The subtotal simply comes out lower and looks entirely normal, because a smaller number is still a number.

It doubles rows. The mirror image, and rarer, and worse. A duplicated line inflates a total, and an inflated total in a VAT calculation or a set of management accounts is the kind of thing that gets noticed by exactly the person you least want noticing it.

None of these failures produce an error message. There is no red cell, no reference error, no warning triangle. The output looks like every other output. This is why the answer is process, not vigilance. You cannot spot these by reading harder.

The rule

Here it is, and it is the spine of everything that follows:

Use an inspectable calculation and verify its inputs, assumptions and outputs, whether it runs in a spreadsheet, accounting system or code-backed AI tool.

Asking for a spreadsheet formula is one useful way to make the method visible. A formula is not automatically correct: its range, input types, exclusions and signs still need checking. The same checks apply to executed code.

โŒ Weak prompt

Prompt

Here is my nominal ledger extract for March. What is total travel expenditure for the quarter?

Output

Total travel expenditure for the quarter is 14,382.67.

It is precise to the penny, which reads as authoritative. There is no way to check it except by doing the sum yourself, and it may have quietly missed six rows on the way through.

โœ… Good prompt

Prompt

My ledger extract is in Excel, rows 2 to 900. Column C is the nominal code, column E is the date, column G is the net amount. Give me a formula that totals column G where the nominal code is 7400 and the date falls in the quarter. Do not calculate the answer. Also tell me how many rows should match so I can check the count.

Output

A formula pointed at the exact columns and range, plus a second formula that counts the matching rows.

The formula exposes the range and selection rule. Check both, confirm numeric inputs, and compare the count with the source records.

Checkpoint

Ask for the formula or executed code and its method. Trace the result to the source rows and check the assumptions before relying on it.

Making it show its working

The point of asking for the method is that a method is checkable and a bare figure is not. You can read a rule, disagree with it, and test it on five rows. You cannot do any of that with the number 14,382.67.

Prompt you can copy: method before answer

Do not give me a total. Instead give me, in this order:

  1. Which rows you would include and which you would exclude, and the exact rule.
  2. Any rows you are unsure about, listed individually.
  3. A spreadsheet formula that applies the rule, referencing my actual columns.
  4. A second formula that counts how many rows the first formula covers. My columns are: [list them]. My data runs from row [2] to row [900].

That fourth item is the one people skip and the one that catches the quiet failures. If you expected 47 matching rows and the count says 41, you have found a real problem in ten seconds.

Prompt you can copy: catch a dropped or doubled row

I gave you [90] transactions. Before summarising anything, tell me how many transactions you can see, and list the first and last reference number in the set. Then group them by [category] and tell me the row count in each group. The group counts must add back to the total count. If they do not, say so plainly and stop.

It will not always obey that last instruction. That is fine. You are the one checking that the group counts add back, and now the counts are on screen where you can see them.

Some AI products can now run real code or a real calculator behind the scenes, and those are genuinely more reliable for arithmetic. They are still not your working papers. A figure you did not produce and cannot trace is not evidence, whatever produced it.

Try these checks on the synthetic reconciliation practice.

What good looks like

You asked for a rule. You read the rule and agreed with it. You put the formula in the sheet. You checked the row count against what you expected. You recalculated three awkward rows by hand: the biggest one, one that should have been excluded, and one credit note.

Total time: about four minutes. And now, when a partner or a client asks where the number came from, you have a real answer, which is the entire job.

Prompt you can copy: sanity check a figure you already have

I have calculated [describe the figure] as [amount] using this method: [describe your method in a sentence]. Do not recalculate it and do not give me a number. Instead list, most likely first, the ways this method could be wrong: rows that might be wrongly included or excluded, sign errors, date boundary problems, duplicates, and anything else. For each one, tell me the specific check I should run in my spreadsheet.

This is the tool at its best. It is not being asked to be right about a number. It is being asked to be imaginative about how a number could be wrong, which is a language task, and one it is very good at.

๐Ÿ“ Quiz

1 of 4

Swipe right if this answers the question correctly, left if it does not.

What can a text-only reply produce when no calculation tool is used?

โ€œEstimating and then rounding to the nearest sensible figureโ€

Is this the right answer?

Found this useful? Pass it on.