Feature

Convert PDF to Excel with Formulas in the Total Rows

PDFxlsx converts PDF tables to Excel and writes a SUM formula into a total row when the figures above it add up to the printed total. When they do not add up, the cell keeps the number from the PDF. So a corrected amount in your sheet changes the total, and a total that never matched is never silently replaced.

XLSX only. Starter is $49 a month and every plan includes this.

Uploading your PDF…

Drop your PDF here or click to browse

PDF files up to 50MB

When a total becomes a formula

The converter does not trust a label alone. A row is only turned into a formula after four checks pass, and each check exists to stop the file from showing a number the document never printed.

CheckRule in the converterIf it fails
LabelFirst non empty cell starts with Total, Subtotal, Grand total, Sum, Net, Net change, Net total or BalanceRow stays plain values
Number blockAt least 2 numbers directly above, in the same column, with no gapPrinted value kept
ArithmeticThe block adds up to the printed total, within 1.5 centsPrinted value kept
Earlier totalA subtotal above ends the block, so a grand total never counts it twiceBlock stops at the subtotal

The result is a cell such as =SUM(C2:C7) in the total row, with the numbers above stored as real values with a number format.

Worked example with a vendor invoice

A vendor invoice lists five line amounts of 1,250.00, 480.50, 99.99, 2,310.00 and 75.25, and prints a Total of 4,215.74. They add up, so the Total cell in the XLSX holds =SUM over the five rows and shows 4,215.74. You then find that line three should be 109.99. You type it, and the total moves to 4,225.74 without any other edit.

CasePrinted totalSum of rows aboveTotal cell in XLSX
Rows add up4,215.744,215.74SUM formula, shows 4,215.74
Discount line outside the block4,000.004,215.74Plain value 4,000.00
Only one number above75.2575.25Plain value 75.25

The second row is the reason for the arithmetic check. Replacing 4,000.00 with a computed 4,215.74 would change a figure on your client's document. The formula appears only where the document itself agrees with the sum. For the full list of layouts that convert, see invoice PDF to Excel and financial report PDF to Excel.

What else the Excel file contains

Real numbers and dates

Amounts and dates are stored as values with a number format, so SUM, pivots and filters work on them straight away. Other formulas you need, such as a running balance, you add yourself.

Clean structure

One worksheet per table, a bold header row, sized columns and merged header cells where the PDF spans them. Fonts, colors and page layout of the PDF are not copied.

Your column layout

Plus and above can rename and reorder columns with a saved template, and the total formula follows the mapped layout. See custom column mapping.

Who it is for and who it is not for

It fits when

You convert invoices, statements or reports and then correct a few amounts by hand. Bookkeepers, accounts payable clerks and analysts get totals that recalculate instead of staying frozen at the printed figure.

It does not fit when

You expect the original formulas of an Excel file that was printed to PDF. Those do not exist in the PDF. There is also no formula for percentages, balances or cross sheet links, and CSV carries no formulas. Check the converter roundup if you need a different tool.

Plans are on the pricing page. Official reference for the function: Microsoft documentation of SUM.

Formula questions

Only one kind. When a table has a total row and the figures above it add up to the printed total, the XLSX cell holds a SUM formula over those rows. Everything else is stored as a real number or date. A PDF holds no formulas, so none can be recovered from it.

The cell keeps the number printed in the PDF. No formula is written, so a discount, a correction or a line outside the block never gets replaced by a figure the document did not show.

The first non empty cell of the row must start with Total, Totals, Subtotal, Sub-total, Sub total, Grand total, Sum, Net, Net change, Net total or Balance. Polish labels such as Razem, Suma and Ogolem also count.

No. CSV is one flat table of plain text, so the total stays as the printed number. SUM formulas exist only in the XLSX file.

Yes, even when a column template drops or moves the label column. The total row is recognized on the table before the template is applied, and the SUM is placed in the mapped layout. Custom column mapping is included from Plus.

Get totals that recalculate in Excel

Create a free account, run the demo on one of your PDFs, then pick the plan with enough conversions for your month.