Note: The other languages of the website are Google-translated. Back to English
English English

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.

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:

The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

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