How to Extract Tables from a PDF to Excel
Tables in a PDF are not always stored as spreadsheet cells. If you need to analyze the data, import the table into Excel and check the result against the original page. Numeric columns, merged headers, footnotes and multi-page tables are common sources of errors.
Import a PDF with Excel Power Query
- Open Excel and choose the Data tab.
- Select Get Data, then From File, then From PDF. The exact menu labels vary by Excel version.
- Choose the PDF. In the Navigator, select the detected table or page preview that contains the data.
- Choose Transform Data to inspect and clean the preview, or Load to place it in a worksheet.
- Save the workbook as a new file, then compare the imported rows with the PDF.
PDF import is available in supported desktop versions of Excel. If your version does not offer it, use an approved converter or copy the text into a spreadsheet and structure it manually.
Clean and verify the imported table
- Confirm that each value landed in the correct column and row.
- Check dates, decimal marks, negative values, currency symbols and leading zeros.
- Look for wrapped descriptions, split rows, repeated headers and blank rows.
- Compare row counts and recalculate totals against the PDF. Do not assume an imported total is correct.
- Keep the original PDF and note the source page for each imported table.
For a scanned or image-only table
If you cannot select words in the PDF, it may be a scan. Use OCR to make the PDF searchable before importing, or use a table extraction tool with OCR that your organization approves. OCR can confuse similar digits and omit grid lines, so manually verify every value used for decisions or reporting.
Handle sensitive data carefully
Financial, health and customer records may be subject to access rules. Use Excel and any conversion service allowed by your organization, store the workbook in an approved location, and remove columns you do not need before sharing it.
Frequently asked questions
Why is the PDF table not detected?
The PDF may contain a scan, complex layout, or text positioned without table structure. Try OCR for a scan, then inspect or manually reconstruct the rows and columns.
Will Excel preserve the PDF table formatting?
Not necessarily. Import focuses on data, and merged cells, styles, headers or line breaks may change. Check the values and structure rather than relying on visual formatting.
How do I verify a converted table?
Compare row counts, dates, signs, decimal places and totals with the source PDF. Review every field that matters before using or sharing the workbook.