To convert tables in a PDF into Excel, import them with Power Query, inspect the detected tables, and correct the resulting columns before you calculate anything. A PDF page is a presentation format, not a structured spreadsheet. Even when Excel imports a table successfully, merged headings, multi-line cells, and scanned pages can change the meaning of values. Microsoft’s PDF connector documentation is the primary reference for this workflow.

Choose the right source

Ask for the original spreadsheet or a CSV when it is available. That is usually a better source for analysis than a PDF generated from it. When only a PDF exists, check whether it contains selectable text or is a set of scanned images. A scanned page may require OCR before a table can be extracted, and OCR itself needs careful review. Preserve the supplied PDF so you can compare the import with its original presentation.

Import with Power Query

  1. Open Excel and use the data import path for a PDF file in a supported version.
  2. Select the right file and review the tables or pages listed in the Navigator.
  3. Preview the candidate table before loading it. A page fragment is not always the complete data set.
  4. Choose Transform Data when columns, headings, or data types need correction.
  5. Review each column’s type, especially dates, currency, identifiers, and decimal values.
  6. Load the cleaned result into a worksheet and compare totals and sample rows with the PDF.
  7. Record the source and transformation steps for the next update.

Power Query can combine or transform imported tables, but it cannot infer every business rule hidden in a PDF layout. Inspect the applied steps rather than assuming a refresh will always pick the correct page after a supplier changes its report.

What to check after import

RiskCheck
Missing rowsCompare row count and opening/closing entries
Split or merged columnsInspect long descriptions and multi-line cells
Wrong numeric typeCheck decimal separators, currency, and totals
IdentifiersPreserve leading zeros and avoid accidental date conversion

Visual layout can conceal structure problems

A PDF can repeat a table heading on each page. During import, those headings may appear as ordinary rows. A wrapped description may occupy two lines and be mistaken for two records. Page footers, subtotals, or notes can also be pulled into the data area. Filter only after identifying what each row means. Do not delete a line merely because it looks unusual; it might contain a legitimate adjustment or exception.

Numbers need an independent check

Compare a few values, including the first and last rows, directly with the PDF. Sum a column when the original report provides a total and investigate differences. Dates and decimal separators can be interpreted differently across locale settings. A customer number or ZIP code should often be text, not a number that loses leading zeros. For a financial or operational decision, ask the data owner to verify an ambiguous field before using it.

Refresh with care

A repeatable Power Query transformation is useful for reports that keep a stable layout. If the source changes page count, headings, or table format, a refresh may still finish while producing the wrong result. Keep a small validation routine: compare row count, totals, missing values, and a few known records. Save the source file and the workbook version used for each reporting period.

When OCR is needed

For a scanned statement, extraction starts with recognizing characters in an image. That can confuse similar digits or columns and is especially risky for account numbers and monetary amounts. Use an authorized OCR service or request a digital source. Verify every field that will drive billing, inventory, or customer communication. A converted spreadsheet is editable, but editability is not evidence of accuracy.

Common questions

Will every PDF become an accurate Excel table? No. Results depend on the source structure and require review.

Can I update the workbook when a new PDF arrives? A query can refresh from a compatible source, but check the result after each layout change.

Use the imported workbook as a reviewed data set. Keep the PDF for traceability and the transformation steps for future corrections.

If a monthly report changes its column names or adds a new section, pause the routine refresh. Check whether the Navigator is still pointing to the same logical table, not just a similarly named page. A quick comparison with the PDF’s totals can prevent a misleading chart or invoice built from only part of the imported report.

Sources and references