PDF Conversion Issues

Convert PDF Tables to Excel and Clean Imported Data

Muhammad TalhaMuhammad Talha Dec 2, 2026 868 views

Question details

Convert PDF tables into Excel and clean data that imports with structural or formatting problems.

Convert PDF Tables to Excel and Clean Imported Data
Product
Microsoft Excel and Adobe Acrobat
Device & OS
not provided
Scenario
A user wants to extract tables from a PDF into a usable spreadsheet.
Observed behavior
Imported tables may be empty or contain merged cells, missing headers, blank rows, or inconsistent formatting.
Before you start

Open the PDF and try selecting text in a table. If you cannot select text, the PDF may be a scan and may need OCR before conversion. Check that your Excel version includes the From PDF connector.

Solution 1Recommended

Import a text-based PDF and clean it with Power Query

Use Excel's PDF connector when the PDF contains selectable text and tables.

1
Open the PDF connector

In Excel, select Data > Get Data > From File > From PDF, then choose the PDF file.

2
Preview the tables

In the Navigator window, select a detected table and inspect its preview. Choose Transform Data to open it in Power Query.

3
Remove blanks and restore labels

In Power Query, select Home > Remove Rows > Remove Blank Rows. If a label should repeat in empty cells below it, select its column and choose Transform > Fill > Down. Use Home > Use First Row as Headers if the first row contains the column names.

4
Split and format columns

Select a column and use Transform > Split Column when values need separating. Set each column's data type using the data type icon in its header.

5
Load and check the result

Select Home > Close & Load, then compare the worksheet with the PDF. Correct missing headers, misaligned values, or merged-cell layouts manually if needed.

Import a text-based PDF and clean it with Power Query
Check the preview: If the detected table is empty or the layout is badly distorted, try an export tool or OCR instead. Power Query cannot always reconstruct complex PDF table layouts.
PDF to Excel

Convert PDF Tables to Spreadsheets with WPS Office

Use WPS PDF's PDF to Excel tool to convert a PDF, then open the resulting workbook in WPS Spreadsheet to review and clean the imported table.

  1. 1. Open the PDF: Launch WPS Office and open the PDF containing the table.
  2. 2. Start the conversion: In WPS PDF, select Tools > PDF to Excel, then choose the pages and output location if prompted.
  3. 3. Convert and open the workbook: Select Convert and open the resulting workbook in WPS Spreadsheet. Conversion options and limits may vary by version or plan.
  4. 4. Clean the imported table: Compare the worksheet with the PDF, then edit missing headers, remove blank rows, and correct any merged or misaligned cells.
Convert PDF tables into an editable spreadsheetOpen and edit Microsoft Excel XLSX filesReview and correct imported values in WPS SpreadsheetWork with PDF and spreadsheet files in one office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel import an empty table from my PDF?

The PDF may be a scan, or Excel may not recognize its table structure. Check whether you can select text in the PDF; for scans, use an OCR tool such as Acrobat's Scan & OCR > Recognize Text before exporting.

How do I fill in missing labels after importing a PDF table?

In Power Query, select the column containing the labels and choose Transform > Fill > Down. This copies each existing label into blank cells below it; check the results against the PDF.

How can I make the first row the column headers?

In Power Query, choose Home > Use First Row as Headers. If the PDF's headers were not extracted, enter or rename them manually.

Can I convert a scanned PDF directly to Excel?

A scanned PDF generally needs OCR to recognize its text. In Acrobat, use Scan & OCR > Recognize Text, then export it through Export PDF > Spreadsheet > Microsoft Excel Workbook and check the result for recognition errors.

What should I do if cells are merged or values are misaligned?

Compare the imported worksheet with the original PDF. In Excel, select merged cells and use Home > Merge & Center to unmerge them, then move or re-enter values as needed.