How to Fix Power Query Append Creating an Extra Column in Excel
Question details
The user experiences an issue where appending tables in Power Query results in an unexpected extra column, despite the source tables appearing to have identical structures.

- Product
- Excel / Power Query
- Device & OS
- not provided
- Scenario
- Appending multiple tables or data sources using Power Query.
- Observed behavior
- An extra column is generated in the appended query result due to a mismatch in column headers that is not visually obvious.
Before modifying your queries, ensure you have loaded a preview of all source tables in the Power Query Editor to easily verify their current column headers.
Remove Hidden Trailing Spaces in Column Headers
Identify and rename mismatched column headers that contain invisible characters like trailing spaces.
Power Query is case-sensitive and strictly matches column names when appending tables. Even a single hidden trailing space (for example, 'Title ' instead of 'Title') will cause Power Query to treat them as two distinct columns. This results in the data splitting into an extra column in your appended output instead of aligning properly.
Open the Power Query Editor and select each source query from the left pane. Locate the header of the column that is splitting into two in your append results.
Double-click the column header to edit the text. Click at the very end of the text and look closely for a trailing space at the end of the column name.
Delete the trailing space or rename the column so it exactly matches the header used in your other tables. Press Enter to apply the change.
Navigate to your appended query. The extra column should now be merged properly into a single column. Click 'Close & Load' on the Home tab to apply the changes to your worksheet.

Try WPS Office for Seamless Data Management
While Power Query is a powerful tool in Microsoft Excel, issues like hidden trailing spaces and strict case sensitivity can sometimes complicate data consolidation. If you are looking for a highly compatible, cost-effective alternative for daily data processing and analysis, WPS Office offers robust spreadsheet capabilities with a familiar, easy-to-use interface.
- 1. Download and Install: Visit the official WPS Office website to download the free suite for your device.
- 2. Open Your Spreadsheets: Launch WPS Spreadsheet and open your existing Excel workbooks seamlessly without format loss.
- 3. Manage Data Intuitively: Use WPS Office's intuitive built-in data tools to consolidate, merge, and organize your tables easily.

Frequently Asked Questions
Why is Power Query appending my data into separate columns instead of one?
Power Query strictly checks string matches for column headers. If one table has the header "Sales" and another has "sales " (with a trailing space), it treats them as entirely different columns and places them side-by-side during an append.
How can I automatically remove trailing spaces from column headers in Power Query?
You can clean headers by going to the Advanced Editor and wrapping your source step in the Table.TransformColumnNames function combined with Text.Trim. This strips leading and trailing spaces from all headers simultaneously.
Does case sensitivity affect appending tables in Power Query?
Yes, Power Query is fully case-sensitive. A column named "Amount" will not align with a column named "amount". You must rename the columns to match exactly, or use Text.Proper/Text.Lower within your transformation steps to standardize them before appending.
Why don't trailing spaces show up in standard Excel tables?
Excel allows trailing spaces in headers and often masks them visually in regular worksheets. However, when imported into a strict data transformation environment like Power Query, these hidden characters become significant and directly affect operations like merges and appends.




