Skip to main content

How to convert multiple rows to columns and rows in Excel?

Author: Sun Last Modified: 2020-05-25

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.

doc rows to columns rows 1

Convert multiple rows to columns with formula

Convert multiple rows to columns with Kutools for Excel good idea3

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:

doc rows to columns rows 2doc arrow rightdoc rows to columns rows 3


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.

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.

Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

After free installing Kutools for Excel, please do as below:

1. Select the column list and click Kutools > Range > Transform Range. See screenshot:

doc rows to columns rows 8

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:

doc rows to columns rows 5

3. Click Ok, and a dialog pops out to remind you select a cell to output result. See screenshot:

doc rows to columns rows 6

4. Click OK. And the list with multiple rows has been converted to multiple columns and rows.

doc rows to columns rows 7

Relative Articles:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

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!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations