Power Query Problems

How to Fix Power Query Creating a Blank Column After Refresh in Excel

Bushra ParveenBushra Parveen Nov 10, 2026 869 views

Question details

The user needs to prevent or remove an unexpected blank column that appears next to an Excel table after refreshing a Power Query.

How to Fix Power Query Creating a Blank Column After Refresh in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Refreshing data through Power Query where the query structure or destination table range has been modified.
Observed behavior
An extra, empty column appears adjacent to or within the structured Excel table after the refresh operation completes.
Before you start

Before modifying your query or table structure, ensure that your Power Query connections are fully loaded and that no background refresh is currently running.

Solution 1Recommended

Verify the Table Range and Identify the Blank Column

Determine if the blank column is officially part of the structured table or just adjacent leftover data from a previous refresh.

Because Power Query returns a structured table, any empty column belonging to the query should technically have a header. If the query structure changed, Excel might leave behind orphaned columns.

1
Check the column header

Examine the top cell of the blank column. See whether the header is retained from a previous refresh or is an automatically generated name (like 'Column1').

2
Count table columns using a formula

Select a cell outside your table and enter the formula =COLUMNS(MyTableName) (replace 'MyTableName' with your actual table name) to confirm the exact number of columns officially recognized by the table object.

3
Resize the table if necessary

If the formula indicates the extra column is inside the table but shouldn't be, navigate to the 'Table Design' tab, click 'Resize Table', and adjust the data range to exclude the blank column.

4
Delete obsolete columns manually

If the blank column is outside the table range but still visible on the sheet, right-click the column letter at the top of the worksheet and select 'Delete' to clear old data.

Verify the Table Range and Identify the Blank Column
Understanding Table Behavior: Sometimes Excel retains old columns adjacent to the Power Query output if the newly refreshed query result has fewer columns than the previous one.
Free Microsoft Office alternative

Try WPS Office for Your Data Analysis Needs

If you frequently encounter issues with complex Excel queries or need a reliable, lightweight alternative for managing spreadsheets, WPS Office offers a powerful, user-friendly suite. It provides excellent compatibility with Microsoft formats and features robust data handling tools without the heavy resource footprint.

Fully compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Lightweight installation with fast startup and processing speeds.Clean, intuitive interface that requires zero learning curve.Built-in advanced data analysis and visualization tools.Free to use with comprehensive office productivity features.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Power Query leave old data columns behind when the query shrinks?

When a Power Query refresh results in fewer columns than the previous load, Excel sometimes fails to delete the leftover columns on the worksheet if they fall outside the newly defined table range. Deleting them manually usually resolves the issue.

How can I find the exact name of my Power Query table?

Click any cell inside the loaded table, navigate to the 'Table Design' tab on the ribbon, and look at the 'Table Name' box located on the far left side of the menu.

Will refreshing the query overwrite my manual column deletions?

No. If you manually delete a stray column that is outside the structured table range, refreshing the query will only update the data within the actual table range defined by Power Query.

Does WPS Spreadsheet support similar data query functions?

WPS Spreadsheet provides various data import and data processing features to handle large datasets. While it handles complex data modeling differently than Excel's M-code based Power Query, it is highly compatible with standard Excel data files.