Data Import & Export

Convert Repeating Data in One Row into Columns in Excel

Tauseeq MagsiTauseeq Magsi Oct 28, 2026 870 views

Question details

The user needs to transform data that is arranged continuously across a single row into a structured table consisting of distinct columns.

How to Convert Repeating Data Across One Row into 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.
Before you start

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.

Solution 1Recommended

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.

1
Select a destination cell

Click on an empty cell where you want your new structured table to begin (for example, cell A3).

2
Enter the WRAPROWS formula

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).

3
Apply the formula

Press Enter. The single row of data will instantly spill into a three-column table.

Restructure Data Using the WRAPROWS Function
Dynamic Updates: Because this is a dynamic formula, any changes made to the original row of data will automatically reflect in your new multi-column table.
Convert Data Instantly with WPS Office

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. 1. Open your dataset: Launch WPS Spreadsheet and open the file containing your repeating horizontal data.
  2. 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. 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. 4. Save your work: Save your newly structured table as an .xlsx file, preserving all formatting and formulas.
Full compatibility with Microsoft Excel formulas and file formats (.xlsx, .xls).Built-in dynamic array functions like WRAPROWS to easily reshape complex datasets.Advanced Paste Special features for quick and accurate data transposition.Lightweight application with a familiar interface for seamless workflow transitions.
microsoft office alternative - wps office

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.