How to convert multiple rows to columns and rows in Excel?
Suppose you have a single column list with multiple rows, and now you want to convert this list to multiple columns and rows as below screenshot shown for viewing data clearly, how do you quickly solve this in Excel? In this article, you may find the good answer.
Convert multiple rows to columns with formula
Convert multiple rows to columns with Kutools for Excel
Convert multiple rows to columns with formula
To convert multiple rows in a column to multiple columns and rows, you can use formulas by following steps:
Select a blank cell that you want to out put the first data of your list, says Cell C2, and enter this formula =OFFSET($A$1,(ROW()-2)*3+INT((COLUMN()-3)),MOD(COLUMN()-3,1)), then press Enter key to get the first data form list, then drag the autofill handle to the right cells you need, and then drag the autofill handle down to the cells until zero displayed. See screenshots:
Note:
This formula can be interpreted as
OFFSET($A$1,(ROW()-f_row)*rows_in_set+INT((COLUMN()-f_col)/col_in_set), MOD(COLUMN()-f_col,col_in_set))
And in the formula,
f_row is the row number of this formula
f_col is the column number of this formula
rows_in_set is the number of rows that make one record of data
col_in_set is the number of columns of the original data
You can change them as you need.
Convert multiple rows to columns with Kutools for Excel
For some formula greener, the above formula maybe somewhat difficult, but do not worry, Kutools for Excel’s Transpose Range utility can help everyone to quickly convert multiple rows in a column to columns and rows easily.
After free installing Kutools for Excel, please do as below:
1. Select the column list and click Kutools > Range > Transform Range. See screenshot:
2. Then in the Transpose Range dialog, check Single column to range option in Transform type section, check the Fixed value option in the Rows per record section and type the number of fixed columns into the following textbox. See screenshot:
3. Click Ok, and a dialog pops out to remind you select a cell to output result. See screenshot:
4. Click OK. And the list with multiple rows has been converted to multiple columns and rows.
Convert Rows to Columns and Rows
Relative Articles:
- How to mass convert text to date in Excel?
- How to convert lowercase to proper or sentence case in Excel?
- How to convert time to decimal hours/minutes/seconds in Excel?
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!