Convert PDF Tables to Excel and Clean Imported Data
Question details
Convert PDF tables into Excel and clean data that imports with structural or formatting problems.

- 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.
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.
Import a text-based PDF and clean it with Power Query
Use Excel's PDF connector when the PDF contains selectable text and tables.
In Excel, select Data > Get Data > From File > From PDF, then choose the PDF file.
In the Navigator window, select a detected table and inspect its preview. Choose Transform Data to open it in Power Query.
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.
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.
Select Home > Close & Load, then compare the worksheet with the PDF. Correct missing headers, misaligned values, or merged-cell layouts manually if needed.

Use Adobe Acrobat export or OCR for difficult PDFs
Try Acrobat when Excel's PDF import is empty, poorly structured, or the source is a scanned document.
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. Open the PDF: Launch WPS Office and open the PDF containing the table.
- 2. Start the conversion: In WPS PDF, select Tools > PDF to Excel, then choose the pages and output location if prompted.
- 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. Clean the imported table: Compare the worksheet with the PDF, then edit missing headers, remove blank rows, and correct any merged or misaligned cells.

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.




