When a PDF table adds up but two line amounts are wrong

3 November 2026

A calculator and reading glasses rest on lined paper beside a pen.
Illustrative photograph. Cropped and resized. Photo: “Finance Flat lay” — Artsy Crafty / NegativeSpace. · CC0 1.0

A matching grand total can hide two equal and opposite errors. In a test with eight item rows, the original amounts added up to 173.00. After two cells were deliberately changed, the amounts still added up to 173.00. A reviewer checking the total alone would have accepted both versions. Test results

Find the error the grand total misses

The first item on page one, A01, calls for two units at 12.50 each. Its amount should be 25.00. The next item, A02, has three units at 8.00, giving 24.00. The reference rows in the source table establish the expected values. The numeric fields do not specify a currency, so none is assumed here. Ground truth

The deliberately altered data raised A01 to 26.00 and reduced A02 to 23.00. Both versions of the pair total 49.00. The original PDF extraction and the subsequent exercise are separate: the recorded local extraction matched all 32 expected cells, and the offsetting faults were deliberately introduced to test whether the controls could detect them. Test results · Injected offsetting errors

ItemCalculated from the source rowAltered amountDifference from expected
A012 × 12.50 = 25.0026.00+1.00
A023 × 8.00 = 24.0023.00−1.00
Both items49.0049.000.00

Give the reviewer an evidence trail for each discrepancy

For a new table, first establish how the source says an amount is calculated. Quantity multiplied by unit price works in this fixture. A real row might include an explicitly printed adjustment or rounding rule. Record the rule and unit you actually see before treating a difference as an extraction error. Ground truth

Keep one row per discrepancy. Record the source file version, page, item identifier, column heading, source value, extracted value, calculation and responsible reviewer. A cell location is particularly useful if the same item appears more than once. If the original clearly reads 25.00 and the extract reads 26.00, document the correction in a new version of the extract. Preserve the first result so a second reader can reproduce what failed.

Before releasing the table, reconcile the corrected item values and the full total. If the source figures themselves disagree, refer the discrepancy to the owner of the source document. Changing one extracted row solely to force the grand total to match would recreate the problem this test was designed to expose. Test results

Part of the How to catch wrong cells in a PDF table with the right total guide.

Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).