Power Query Problems

How to Split Repeated Names and Associated Values into Separate Excel Rows

Steve KSteve K Oct 26, 2026 869 views

Question details

The user needs to normalize data by splitting multiple associated values tied to a repeated name into separate, individual rows in Excel.

How to Split Repeated Names and Associated Values into Separate Excel Rows
Product
Microsoft Excel
Device & OS
not provided
Scenario
Organizing and cleaning a dataset where names have multiple associated values (like X1 and X2) combined on a single line, but need to be separated into individual rows for better data analysis.
Observed behavior
Instead of several values combined on one line, the goal is to generate a normalized dataset where each occurrence of the name and its associated data has its own distinct row.
Before you start

Ensure your original data is formatted as an Excel Table (press Ctrl+T) to make it easier to load into Power Query or use as dynamic ranges in array formulas.

Solution 1Recommended

Use Power Query to Unpivot and Separate Rows

Power Query is the most robust method for normalizing combined data into separate rows without relying on complex formulas.

Power Query features an 'Unpivot' function that automatically takes data spread across multiple columns and flattens it into rows, keeping the associated identifier (like a Name) attached to each new row.

1
Load data into Power Query

Select your data range, go to the Data tab on the Excel ribbon, and click 'From Table/Range' to open the Power Query Editor.

2
Select columns to keep

In the Power Query Editor, right-click the column containing the repeated names (and any other primary identifier columns) and choose 'Unpivot Other Columns'. Alternatively, select the specific value columns, right-click, and choose 'Unpivot Columns'.

3
Clean the expanded data

Power Query will generate separate rows for each value. You can rename the new 'Attribute' and 'Value' columns by double-clicking their headers, or delete the Attribute column if it is no longer needed.

4
Load the normalized data

Go to the Home tab in the Power Query Editor and click 'Close & Load' to output the separated, normalized data into a new Excel worksheet.

Use Power Query to Unpivot and Separate Rows
Dynamic Updates: Once set up, you can simply add new data to your original table and click 'Refresh All' on the Data tab to automatically update the separated rows in your result sheet.
Efficient Data Processing

Split and Manage Complex Data Easily with WPS Spreadsheet

WPS Spreadsheet offers powerful data management tools, fully supporting advanced array functions and data processing workflows, allowing you to split and organize complex datasets seamlessly.

  1. 1. Open your dataset: Launch WPS Spreadsheet and open your existing .xlsx data file.
  2. 2. Apply dynamic array formulas: Use supported functions like FILTER and SORT to dynamically separate and stack your records without altering the raw data.
  3. 3. Use data processing tools: Alternatively, utilize the built-in Text to Columns or Data sorting features from the Data tab to organize mixed values.
  4. 4. Save seamlessly: Save your organized file in .xlsx format to retain full formatting and formula compatibility with Microsoft Office.
100% compatible with Microsoft Excel formats (.xlsx)Supports advanced dynamic array functions like FILTER and SORT for easy data manipulationLightweight, fast-loading, and completely free to useFamiliar user interface requires no learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why do my unpivoted rows in Power Query show extra attribute columns?

When you unpivot columns in Power Query, it automatically creates an 'Attribute' column containing the old column headers to retain context. If you only need the separated values, you can right-click this 'Attribute' column and select 'Remove'.

Can I use VSTACK or FILTER in older versions of Excel?

No, dynamic array functions like VSTACK, FILTER, and SORT are only available in Microsoft 365 and Excel 2021 or later. For older versions, using Power Query is the recommended and most reliable solution.

How do I update the separated rows when new names are added?

If you used Power Query, simply right-click anywhere inside the generated result table and select 'Refresh', or go to the Data tab and click 'Refresh All'. If you used dynamic array formulas, the results will update automatically as soon as the source data changes.