Convert Repeating Data in One Row into Columns in Excel
Question details
The user needs to transform data that is arranged continuously across a single row into a structured table consisting of distinct columns.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Reorganizing continuous horizontal datasets with repeating patterns into standard vertical database-style tables.
- Observed behavior
- The data currently sits in row 1 in repeating groups of three (name, address, city) and needs to be formatted vertically with three distinct columns for easier analysis.
Ensure your horizontal data follows a strict repeating pattern without any missing or unexpectedly merged cells to prevent data from shifting into the wrong columns.
Restructure Data Using the WRAPROWS Function
If you are using a modern version of Excel or WPS Spreadsheet, the WRAPROWS function is the fastest and most efficient way to reshape a 1D row into a 2D table.
Dynamic array functions have simplified complex data transformations. WRAPROWS takes a single row of data and wraps it into a specified number of columns, automatically flowing the data downward.
Click on an empty cell where you want your new structured table to begin (for example, cell A3).
Type the formula =WRAPROWS(A1:Z1, 3). Replace 'A1:Z1' with the actual range containing your horizontal data. The number '3' tells the function to create three columns (Name, Address, City).
Press Enter. The single row of data will instantly spill into a three-column table.

Convert Using Power Query
For large datasets, Power Query provides a robust, database-style approach to split repeating column groups into structured rows.
Manually Reorganize with Paste Special Transpose
For very small datasets, manually copying each group and transposing them is a straightforward method that requires no formulas.
Easily Reshape and Transpose Data in WPS Spreadsheet
WPS Spreadsheet offers powerful data manipulation tools, including modern dynamic array functions and advanced Paste Special features, allowing you to seamlessly convert repeating row data into structured columns.
- 1. Open your dataset: Launch WPS Spreadsheet and open the file containing your repeating horizontal data.
- 2. Apply dynamic formulas: Select an empty cell and use the =WRAPROWS(range, 3) function to instantly reformat the single row into three organized columns.
- 3. Use Paste Special: Alternatively, highlight a group of cells, right-click the destination, and select Paste Special > Transpose to flip the data manually.
- 4. Save your work: Save your newly structured table as an .xlsx file, preserving all formatting and formulas.

Frequently Asked Questions
Can I transpose an entire row into a single column first?
Yes. You can copy the entire row, right-click a destination cell, and choose Paste Special > Transpose. This converts the horizontal row into one long vertical column, which you can then manually split or use standard lookup formulas to sort into groups.
What if my repeating groups have missing data or blank cells?
If cells are blank or missing within a group, automated formulas like WRAPROWS might shift the subsequent data into the wrong columns. Ensure you insert blank placeholders in the original row so each group maintains exactly three cells before restructuring.
Is there a formula alternative if WRAPROWS is not available in my software version?
Yes, you can use a combination of the INDEX, ROW, and COLUMN functions to calculate the offset and extract every Nth cell from a row. While more complex to write, this legacy approach works flawlessly in older versions of Excel and WPS Spreadsheet.




