An AI tool can rename a header to something plausible that means something different: Amount becomes Total, or two columns swap names. If the headers are wrong, every formula and lookup built on them is wrong too, even when the values are right. Check headers before values.
What you need
- The source table with its headers
- The extracted table with the AI-assigned headers
- A note of what each source column means
Step 1: List the source headers in order
Write down the source headers from left to right, exactly as printed, with the page number. Number them so a shifted column shows up as a numbering gap.
Step 2: Compare each extracted header with the source header in the same position
Read the extracted headers left to right against the source list. Mark any header that is renamed, missing, added, or in the wrong position.
Step 3: Check one value under each renamed header
For every header that differs, read one value in that column against the source. If the value matches the source column of a different name, the columns were shifted; if it matches nothing, the header was invented.
Worked example: synthetic five-column table
The table below is a synthetic example. It shows the expected result of a header check; no document was read and no extraction was run.
| Position | Source header | Extracted header | Match? |
|---|---|---|---|
| 1 | Item | Item | Yes |
| 2 | Quantity | Quantity | Yes |
| 3 | Unit price | Price | Renamed |
| 4 | Amount | Total | Renamed |
| 5 | Date | Date | Yes |
Expected result (UNTESTED). 3 of 5 headers match exactly and 2 were renamed by the AI tool (Unit price to Price, Amount to Total). The values under them match the source columns, so rename the headers back and keep the values. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- A renamed header can hide a shifted column; always check a value under each renamed header.
- Merged header cells in the source often become two headers or one blank header after extraction.
- Do not build formulas on AI-assigned headers until this check passes.
