How to Convert Multiple Rows to Columns and Rows in Excel?
How to Convert Multiple Rows to Columns and Rows in Excel? To convert multiple rows in one column into multiple columns and rows, you can use a formula with the following steps:
Convert multiple rows to columns with formula
Select an empty cell where you want to output the data, for example, cell C2, and enter this formula:
Then, press Enter to get the first data set pattern, and drag the fill handle down to the cell you need, then drag the fill handle right to the cells as needed until no more data is displayed. See screenshot:
convert rows to columns step 1
This formula can be understood as:
In the formula:
f_row is the row number of this formula.
f_col is the column number of this formula.
row_in_set is the number of rows that make up one data record.
col_in_set is the number of columns in the original data.
You can change them as needed.