Practical thinking about AI tools and everyday work.

Repeated Table Headers Should Not Become Extra Records in an AI Extraction

An office worker comparing a multipage printed table with spreadsheet rows on a laptop.
AI-generated photographic illustration; not documentary photography.

A ten-page report repeats its table header at the top of each page. An extraction tool returns ten rows containing “Date, Item, Amount” among the actual transactions. The output looks structured, but its row count now includes page furniture.

AI-assisted extraction needs a clear distinction between schema labels and records. That distinction should be checked against the source document rather than inferred solely from the generated spreadsheet.

Define the expected row

State which fields a real record contains and what kinds of values belong in them. Keep the original page number or another source reference with each extracted row where possible. This makes a suspicious result easier to trace.

Do not remove every repeated row. Two genuine transactions can share the same values. A repeated header is identified by its role and context, not just by matching another line of text.

Review the page boundaries

Sample the first rows after each page break. Check whether a continuing record has been split, a header copied or a subtotal mistaken for an ordinary entry. These are different errors and may need different corrections.

For a small test, extract two adjacent pages containing the repeated heading. Mark the true records manually and compare them with the output before processing the entire file.

Use validation rules as signals for review. A word in a numeric amount column may indicate a header, but it could also be a legitimate note or a missing-value label. Avoid silently converting every unexpected value to zero.

After cleanup, reconcile counts and relevant totals with the source where possible. Preserve the raw extraction and the transformation notes. A tidy table is useful only if someone can explain how its rows relate to the original report and which decisions were made during the cleanup.