Home › Guides › Checking AI work › Seven mistakes AI makes copying a table from a PDF into Excel

Guide

Seven mistakes AI makes copying a table from a PDF into Excel

By Ephraim Shapiro, founder of BinaDesk ·

You can ask any AI to copy a table from a PDF or a scan into Excel. If nobody checks it, it may have made one of these mistakes.

A copied table looks like the original: the same columns, the same kind of figures. A missing row or a misread digit doesn’t show until a total is wrong, and sometimes not even then.

Why these mistakes are hard to find

A PDF doesn’t hold a table as rows and columns. It holds text placed on a page, and a scan holds only a picture of it. Whoever copies the table, a person, a converter or an AI, has to work out the rows and columns from where the text sits.

When an AI gets that wrong, it doesn’t leave a gap or a warning. It fills the sheet with values that look like the rest, so an accountant looking down the sheet sees a clean table.

The mistakes below gather where the page is hardest to read: page breaks, blank cells, faint scans and wrapped lines. That’s where to look first.

Mistakes AI can make when nobody checks

These are just a few examples, not a complete list. An AI can make many other mistakes too.

1. A row dropped at a page break

The last row of a page, or the first of the next, never makes it in. Long tables are read page by page, and the joins are where the AI loses its place. To spot it, count the rows on each page of the original against the spreadsheet, and look at the rows either side of each break.

2. A misread digit

An 8 read as a 3 in a scan, a 1 as a 7, a 5 as an S. The wrong value is still a believable number, so nothing about the cell looks off. To spot it, tie each column to the totals printed in the original. A misread digit moves the total, unless another misread happens to cancel it.

3. Numbers stored as text

Figures that look like numbers but are text, so totals leave them out. It often happens with amounts that carried a currency sign, a space as a thousands separator, or a minus sign at the end. To spot it, compare COUNT and COUNTA on each column of amounts. If COUNT is lower, some values are text.

4. Dates turned around

Day and month switched, or dates stored as text. A date printed 04/03 can mean 4 March or 3 April, and an AI may read some dates one way and some the other. To spot it, look at the dates with a day of 13 or more. If those came in as text while the rest came in as dates, the rest were probably read the wrong way round.

5. A value in the wrong column

A blank cell in the original, and every value after it moves one column over. The row now has a quantity under the price and a price under the amount. To spot it, look at the rows with a blank in the original, and sort each column to bring the odd values to the top.

6. Totals copied, not worked out

The original’s total typed in, even where the rows no longer add up to it. The sheet looks as if it ties, because the printed total sits right below the column. To spot it, put a formula of your own beside each total and compare. Any difference is a row lost, added or misread.

7. A value that isn’t on the page

A value the AI filled in where the page was hard to read, or a row it made up. It looks like every other cell, and nothing marks it. To spot it, pick values from the faintest parts of a scan and find each one on the page. A value you can’t find on the page was probably filled in.

Want to see real ones? Here are the top 100 real mistakes we found in work made by AI.

What to do about it

You can catch most of these yourself if you check the AI file against the original, not by asking the AI. The checks are in How to check a table an AI copied from a PDF into Excel. For what breaks when any converter reads a PDF table, 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.

Start free