New Tool Radar

AI PDF

How to Check AI-Extracted Table Values from a PDF Against the Source Table

Ask ChatGPT to extract a table from a PDF, then compare every cell value with the table on the page to catch misread numbers.

Schematic with three steps: Upload the PDF and ask for the; Compare each extracted cell with the source; Correct the errors and note the error.

An AI can extract a table from a PDF quickly, but it can also misread a digit, shift a value into the wrong column, or drop a row. Checking every extracted cell against the source table, number by number, shows whether the extraction is safe to use.

What you need

  • A PDF with a data table
  • ChatGPT with file upload
  • A spreadsheet to compare the extracted values

Step 1: Upload the PDF and ask for the table

Upload the PDF to ChatGPT and ask it to extract one named table, preserving the column headings and every row.

Step 2: Compare each extracted cell with the source table

Open the PDF page beside the AI’s table and check every cell value in turn, paying extra attention to numbers, dates, and decimal points.

Step 3: Correct the errors and note the error rate

Fix each wrong cell from the source table, count how many cells were wrong, and decide whether the extraction is reliable enough to use or must be done by hand.

Worked example: synthetic table-value check on a 4-row sales table

The table below is a synthetic example. It shows the expected result of the cell comparison; no comparison was run.

Cell AI value Source value
Q1 revenue 12,400 12,400, correct
Q2 revenue 15,900 15,300, misread
Q3 revenue 14,200 14,200, correct
Total 3 cells 1 wrong cell

Expected result (UNTESTED). two of the three values match the source table, but the Q2 revenue is misread as 15,900 instead of 15,300, so the extraction must be corrected before use. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • A single misread digit can change a total, so always re-add the columns after correcting.
  • Merged or wrapped cells are the most likely to be misread or shifted.
  • The AI may silently drop a row it cannot parse, so count the rows as well as the values.

Sources

See all