Home › Guides › Document extraction › PDF tables to Excel

Guide

Why PDF to Excel converters break tables, and how to catch it

By Ephraim Shapiro, founder of BinaDesk ·

A PDF to Excel converter, or an AI, can turn a table into a spreadsheet in seconds, and the result usually looks right. The problems are in the details: a row split in two, a column shifted by one, a negative that lost its sign. This guide covers what breaks, what goes wrong on scans, and how an accountant or controller catches it. Then it covers how to fix the common problems, and why it happens.

We check all of AI’s work. An AI can copy a PDF table into Excel in seconds, and a shifted column looks just like a correct one. Our document extraction service has AI do the copying, and our own software checks every value against its page before you see it. See real mistakes we found.

What breaks

On scans

A scanned PDF is a picture of a page, so the text has to be recognized before a table can be built. That brings its own mistakes: 5 and S, 0 and O, 1 and l, 8 read as 3 or B, a comma read as a decimal point, and faint figures dropped altogether.

They are hard to spot, because the wrong value is still a believable number. A better scan helps. Checking against the printed totals is what catches them.

How to catch it

  1. Count the rows. For each page, the rows in the spreadsheet against the lines on the page. A difference points to a split row, a lost row or a header read as data.
  2. Tie the column totals to the printed totals. Where the PDF has page totals or a grand total, the column should add up to it. Take the subtotal rows out first.
  3. Check the first and last row of each page. Page breaks are where rows get lost, doubled or split.
  4. Check each column’s type. In a column of amounts, COUNT should equal COUNTA. If it’s lower, some values are text. Do the same for dates.
  5. Sort each column. Sorting brings the outliers to the top and bottom: text in a number column, a date in the wrong year, an amount ten times the rest.
  6. Check the signs. Count the negatives in the spreadsheet against the parentheses and minus signs on the page.

Fixing the common problems

The basics: why PDFs don’t hold tables

A PDF stores text placed at positions on a page, not rows and columns. The lines that look like a grid are drawn on, and some tables have no lines at all. A converter has to work out the table from where the text sits.

That works well for a clean, simple table, and goes wrong with wrapped text, blank cells and tables that run across pages. A scan is harder still, because it holds no text at all, only a picture of it.

Had an AI copy a table already? Our PDF to Excel check checks every row and every value in the spreadsheet against the PDF or scan it came from. Rather have it done for you? Our document extraction service reads your documents and puts every value in Excel as printed, tied to its page and checked by our own software. Both are free for now.

Start free