New Tool Radar

AI for Data & Spreadsheets

How to Extract a Scanned Table into Excel

Move a table from a scanned PDF into Excel, then verify every total against the scanned page before using it.

Schematic illustration of extracting a scanned table to Excel: the invoice total 269.15 matches the scan and all four rows line up.

Adobe’s extraction guide says that for a scanned invoice or report with tabular data you can open the file in Acrobat and choose Export PDF, Spreadsheet, Microsoft Excel Workbook — and warns that spreadsheet formatting can shift and tables can flatten, so important totals must be compared with the original image.

Use the practice file

Download the simulated invoice scan at the top of the page. The PDF contains images on all three pages. Run OCR in English on the invoice pages, then export the recognized text to a workbook. Calculate =SUMPRODUCT(B2:B5,C2:C5) when quantities are in column B and unit prices are in column C. The four page 1 rows should total 269.15. Compare individual values with the scan before accepting the sum.

For a PDF with selectable text, use the selectable sales-table exercise.

A practice document, practice-invoice-table.pdf. The file is fictional.

Page Content
1 Invoice table: 4 rows (Widget A ×2 @ 36.50, Widget B ×3 @ 18.25, Widget C ×1 @ 92.40, Widget D ×5 @ 9.80), columns Item, Quantity, Price; total “269.15”
2 Second invoice table, 2 rows
3 Notes page

Page 1 is the check page: the invoice total is “269.15”.

Extract the table to Excel

Expected result. We checked the Adobe Acrobat and the Adobe Help. We did not run any tool. The checks below are what to expect if the work is done correctly; run them yourself on the practice file.

1. OCR the scan first

Run text recognition on the PDF so the table has a text layer.

Expected result: The table’s words select and search.

2. Export to Excel

Choose Export PDF, Spreadsheet, Microsoft Excel Workbook and save the file.

Expected result: An .xlsx file is created with the table’s rows.

3. Check the total

In Excel, find the total cell and compare it with the scan.

Expected result: The total reads “269.15”, matching the scanned page.

4. Check every row

Compare each row’s quantity and price with the scan.

Expected result: All four rows match; no value has moved to a neighbouring column.

Verdict table

Check Expected result Pass?
OCR the scan first The table’s words select and search. —
Export to Excel An .xlsx file is created with the table’s rows. —
Check the total The total reads “269.15”, matching the scanned page. —
Check every row All four rows match; no value has moved to a neighbouring column. —

Related guides: How to Extract OCR Text from a Scanned PDF into a Word Document — How to Convert a PDF to an Editable Word Document.

Limits

  • A table that exports cleanly can still be wrong: a value recognised correctly can sit in the wrong column, so verify the numbers, not just the file.
  • Extraction copies the text layer, not the page: layout, reading order and table structure can all shift, so verify values against the scan.
  • UNTESTED — no OCR tool was run; all results above are expected results. The practice file is fictional.

Sources

See all