Home › Guides › Checking AI work › How to check a table an AI copied from a PDF into Excel
How to check a table an AI copied from a PDF into Excel
An AI can copy a table from a PDF or a scan into Excel in seconds. An accountant relying on it checks the counts and the totals first, because they catch most mistakes in a few minutes. Then they look hard at the places where tables usually break. These nine checks show whether every row and every value came across.
The short version. Count the rows, add up the columns, and compare both with the original. For why these mistakes happen, see Seven mistakes AI makes copying a table from a PDF into Excel.
What to have in front of you
- The original PDF or scan, every page, and any totals it prints: page totals, a grand total, a count of lines.
- The spreadsheet the AI made, as a file, not a copy pasted somewhere else.
- What the table is for, so you know which columns matter most and deserve the closest look.
1. The row count matches
Count the rows of the original, page by page, and the rows of the spreadsheet. Doing it page by page means a difference points straight to the page where a row was lost, split or added.
2. The column totals match
Add up each column in Excel and compare with the original’s totals. Take out any subtotal rows first, or they’re counted twice.
3. Numbers are numbers
Check that figures add up and sort as numbers, not as text. In each column of amounts, COUNT should equal COUNTA. If it’s lower, some values are text, and every total leaves them out.
4. Negatives kept their sign
A PDF may print a negative as (1,250.00) or as 1,250.00-. Count the negatives in each column of the spreadsheet against the parentheses and minus signs on the page. A negative that came across as positive moves the total by twice its amount.
5. Dates are dates
Check a few dates, including ones where the day is 12 or less, since those are the ones that can be read either way. Then sort the column: dates stored as text, or in the wrong year, collect at the ends.
6. Codes and long numbers are as printed
Account numbers, item codes and invoice numbers should keep their leading zeros, so 00451 stays 00451. A long number shown as 1.23457E+15 has been stored as a number, and Excel keeps only 15 digits, so the last one is lost.
7. Every value is in its own column
Look at the rows that have a blank cell in the original. If the values after the blank moved over by one, the rest of the row sits under the wrong headings. Sorting each column brings these to the top, as a price in a quantity column stands out.
8. Look hardest at the hard rows
Check the rows near page breaks, and on blurry parts of a scan. Then look for a description that wrapped onto two lines and became two rows, and for the column headings of each page repeated in the middle of the data.
9. The totals are worked out, not copied
Where the AI brought the original’s totals across, replace each one with a formula of your own and compare. A typed-in total agrees with the original even when the rows above it don’t.
A quick checklist
- The row count matches.
- The column totals match.
- Numbers are numbers.
- Negatives kept their sign.
- Dates are dates.
- Codes and long numbers are as printed.
- Every value is in its own column.
- Look hardest at the hard rows.
- The totals are worked out, not copied.
For more on what breaks when a PDF table comes into Excel, see Why PDF to Excel converters break tables, and how to catch it.
If checking is taking longer than the AI saved you, that’s what our AI verification does: send the file and the documents, and get back every mistake we find, cell by cell.