Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to quickly convert an array table to a list table in Excel?

Supposing you have an array table/cross table, and to convert this array table to a list table may be not a difficult job for you and you can convert it by entering the data one by one. However, if there are multiple array tables needed to convert to list tables, the manual method must not be a good solution. Now, this tutorial introduces the tricks which can quickly convert array table to list table in Excel.

Convert array table to list table with PivotTable

Convert array table to list table with VBA

Convert array table to list table with Kutools for Excel good idea3


Transpose Table Dimensions(transpose a cross table to list, and vice versa.)

doc transpose cross to list

Excel Productivity Tools

Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial

Kutools for Excel: Save 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately. 60-day Unlimited Free Trial


arrow blue right bubble Convert array table to list table with PivotTable


You can apply PivotTable to convert array table to list and then copy it as range.

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

1. Press Alt + D simultaneously, and then press P key to enable the PivotTable and PivotChart Wizard dialog, and check Multiple consolidation ranges and PivotTable options. See screenshot:
doc array table to list 1

2. Click Next to go to the Step 2a of the wizard, and check I will create the page fields option. See screenshot:
doc array table to list 2

3. Click Next to go to Step 2b of the wizard, and select the array range and add it to the All ranges list. See screenshot:
doc array table to list 3

4. Click Next to go to the last step, check one option as you need. See screenshot:
doc array table to list 4

5. Click Finish and then a PivotTable has been created, then go to the crossing cell of Grand Total, double click it, and you can see a list PivotTable has been created in a new worksheet. See screenshots:
doc array table to list 5

6. Then select the list PivotTable, and right click to select Table > Convert to Range from the context menu. See screenshot:
doc array table to list 6

Now the array table has been converted to list table.
doc array table to list 7


arrow blue right bubble Convert array table to list table with VBA

Here is a VBA can help you convert array table to list table, please do as below steps:

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

1. Press Alt + F11 to enable the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste below VBA code to the new Module window.

VBA: Convert array table to list

Sub ConvertTableToList()
'UpdatebyEntendOffice20160429
    Dim I As Long
    Dim xCls As Long
    Dim xRg As Range
    Dim xSaveToRg As Range
    Dim xTxt As String
    On Error Resume Next
    xTxt = ActiveWindow.RangeSelection.Address
    Set xRg = Application.InputBox("Select Array Table:", "Kutools for Excel", xTxt, , , , , 8)
    If xRg Is Nothing Then Exit Sub
    Set xSaveToRg = Application.InputBox("Select a range(cell) to put the list table", "Kutools for Excel", , , , , , 8)
    If xSaveToRg Is Nothing Then Exit Sub
    Set xSaveToRg = xSaveToRg.Cells(1)
    xCls = xRg.Columns.Count - 1
    Application.ScreenUpdating = False
    For I = 1 To xRg.Rows.Count
        xSaveToRg.Offset((I - 1) * xCls).Value = xRg.Cells(I, 1).Value
        xSaveToRg.Offset((I - 1) * xCls, 1).Resize(xCls).Value = _
                        Application.WorksheetFunction.Transpose(xRg.Cells(I, 2).Resize(1, xCls))
    Next
    Application.ScreenUpdating = True
End Sub

3. And press F5 key to run the VBA, and a dialog pops out for you to select the array table excluding headers. See screenshot:
doc array table to list 7

4. Click OK to go to next dialog to select a cell to output the list table. See screenshot:
doc array table to list 9

5. Click OK, and the array table has been converted to list.
doc array table to list 10

Tip:

If you want to fill the blank cells based on above cell, you can do as below:

1. Install Kutools for Excel -- a handy tool and then click Kutools > Insert > Fill Blank Cells. See screenshot:
doc array table to list 11

2. In the Fill Blank Cells dialog, check Based on values and Down options. See screenshot:
doc array table to list 12

3. Click Ok or Apply, and now the blank cells are filled based on above values.
doc array table to list 13

Click here to know more about Fill Blank Cells.


arrow blue right bubble Convert array table to list table with Kutools for Excel

If above methods are not easy enough for you, here I can introduce a handy tool – Kutools for Excel, its Transpose Table Dimensions utility can quickly and easily convert between array table and list table.

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

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

1. Select the array table you want to convert to list, and click Kutools > Range > Transpose Table Dimensions. See screenshot:
doc array table to list 14

2. Then in the Transpose Table Dimensions dialog, check Cross table to list option, and then select the range that output the list table. See screenshot:
doc array table to list 15

3. Click Ok, now the array table has been converted to a list table.
doc array table to list 16

Click here to know more about Transpose Table Dimensions.

pay attention1If you are interested in this addi-in, download the 60-days free trial.

Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  • Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  • Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  • Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  • No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  • Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  • 60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  • Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    J · 1 years ago
    Thanks, the pivot table idea worked well,