New Tool Radar

AI for Data & Spreadsheets

How to Extract a Receipt Totals Table from a PDF into Excel

Move a receipt totals table from a PDF into Excel and prove the grand total matches the receipt before claiming the expense.

Schematic illustration for How to Extract a Receipt Totals Table from a PDF into Excel: three numbered steps - OCR the receipt if scanned; Export the totals table; Match the grand total.

Expense claims fail when the total in the spreadsheet does not match the total on the receipt. Getting the receipt totals table into Excel, then adding the lines by hand, gives a checkable total instead of a typed number nobody can trace.

Prerequisites

  • The receipt PDF and Acrobat Pro or an OCR tool
  • Excel
  • A copy of the source file, so the original stays untouched.

Steps

  1. If the receipt PDF is a scan, run OCR on it first and confirm the totals read correctly on screen.
  2. Select the totals table in Acrobat and use Export Selection As to save it as an Excel workbook, or copy it with formatting and paste into Excel.
  3. Check that each line amount sits in its own row with the right label, and fix any two lines merged into one cell.
  4. Add a SUM formula below the amount column and compare it with the grand total printed on the receipt.
  5. If the two totals differ, re-read each line against the receipt before changing anything.

Worked example: Fictional stationery receipt, 12 November 2026

The practice table below is a fictional five-line receipt. Each amount is a single line total, and the grand total is their sum. The table below is fictional practice material, with fictional values. It is the expected result, worked out by hand, not a run of any tool.

Line Amount
Notebooks, pack of 5 9.99
Pens, box of 20 7.50
Folders, pack of 10 12.25
Printer paper, 1 ream 5.49
Stapler 8.95
Total 44.18

Expected result. The sheet has five receipt lines, the amounts add to 44.18, and the sum matches the printed grand total of 44.18. UNTESTED: no receipt was exported for this guide; the table shows the expected values to check an export against.

Limits

  • A faded or creased receipt scans badly, so OCR errors are common on the smallest print.
  • Tax lines and discounts sit in separate rows in some receipts, so check whether the grand total includes them.

Sources

See all