logo
search
Data Import & Export

How to Import PDF Tables into Excel Without Losing Blank Rows

Huma Ashraf ChHuma Ashraf Ch Oct 9, 2026 869 views

Question details

The user wants to import a single-column PDF table into Excel while preserving empty rows to prevent subsequent data from shifting upward.

How to Import PDF Tables into Excel Without Losing Blank Rows
Product
Excel
Device & OS
not provided
Scenario
Importing table data from a PDF document into an Excel spreadsheet without altering the original row structure.
Observed behavior
Standard PDF import methods automatically remove empty rows, causing the remaining data to shift upward and lose its original alignment.
Before you start

Ensure you are using a version of Excel that supports Power Query (Excel 2016 or newer) and have the source PDF document saved locally on your computer.

Solution 1Recommended

Use Power Query to Import and Transform PDF Data

Power Query gives you precise control over how PDF data is parsed, allowing you to intercept and preserve blank rows before they are dropped by Excel.

When Excel imports data directly, it tries to clean up the dataset by discarding empty rows. By routing the import through Power Query, you can replace 'null' values with a placeholder, securing the structure of your single-column table.

1
Initiate the PDF Import

Open Excel, navigate to the 'Data' tab on the ribbon, click 'Get Data', select 'From File', and then choose 'From PDF'. Locate your file and click 'Import'.

2
Select the Table and Transform

In the Navigator window, select the specific table or page that contains your data. Instead of clicking 'Load', click 'Transform Data' to open the Power Query Editor.

3
Identify and Replace Null Values

In the Power Query Editor, locate the column where blank rows are missing. Blank rows typically appear as 'null'. Right-click the column header and select 'Replace Values'.

4
Apply a Placeholder

In the 'Value To Find' box, type 'null' (without quotes). In the 'Replace With' box, type a space or a distinct placeholder like '[BLANK]'. Click 'OK'.

5
Load the Data into Excel

Once the transformations are applied and the empty rows are secured, go to the 'Home' tab in Power Query and click 'Close & Load' to push the properly formatted data into your spreadsheet.

Use Power Query to Import and Transform PDF Data
Pro Tip: If you used a text placeholder like '[BLANK]', you can easily remove it later in Excel by using the Find and Replace tool (Ctrl+H) to replace it with nothing, leaving a truly blank cell.
Convert PDF to Excel seamlessly

Easily Convert PDFs to Excel with WPS Office

If manual Power Query transformations are too complex, WPS Office offers a dedicated PDF-to-Excel conversion tool. It intelligently parses document layouts to retain original formatting, including blank rows, without needing advanced data query skills.

  1. 1. Open the PDF to Excel Tool: Launch WPS Office, navigate to the 'Tools' tab, and click on 'PDF to Excel'.
  2. 2. Import Your PDF: Click 'Add Files' in the conversion dialog box and select the PDF document containing your tables.
  3. 3. Customize and Convert: Select your desired output location and format (.xlsx), then click 'Convert'. The file will automatically open in WPS Spreadsheets with your blank rows perfectly preserved.
Accurately preserves original PDF table layouts and blank rows.Fully compatible with Microsoft Excel (.xlsx) file formats.Built-in PDF toolkit eliminates the need for complex queries or third-party tools.Lightweight, fast, and features a familiar user-friendly interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel automatically remove blank rows when importing PDFs?

Excel's standard data import tools are designed to clean and consolidate datasets. They often treat completely empty rows as useless null data and drop them to tidy up the table, which unfortunately causes single-column data to shift upward.

Can I restore the deleted blank rows after the data is already loaded into Excel?

No, if the data was imported and the blank rows were dropped during the load process, you cannot automatically restore them. You must either re-import the data using Power Query or manually insert new rows.

Is Power Query available in older versions of Excel?

Power Query is built-in natively under the 'Data' tab (Get & Transform) for Excel 2016 and newer versions. For Excel 2010 and 2013, it was available as a separate free add-in download from Microsoft.

How can I prevent PDF columns from merging during import?

If columns merge unexpectedly during import, use the Power Query Editor. Select the merged column, use the 'Split Column' feature under the 'Home' tab, and specify the delimiter (like a space or comma) used in your PDF data.