Skip to main content

Kutools for Office — One Suite. Five Tools. Get More Done.

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

Author Sun Last modified

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


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.

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:
A screenshot of the PivotTable and PivotChart Wizard dialog in Excel

2. Click Next to go to the Step 2a of the wizard, and check I will create the page fields option. See screenshot:
A screenshot of the Step 2a page fields options in the PivotTable Wizard

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:
A screenshot of selecting the array range in Step 2b of the PivotTable Wizard

4. Click Next to go to the last step, check one option as you need. See screenshot:
A screenshot of the final step of the PivotTable Wizard options

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:
A screenshot of the PivotTable with the Grand Total cell double-clicked

6. Then select the list PivotTable, and right click to select Table > Convert to Range from the context menu. See screenshot:
A screenshot of the context menu to convert PivotTable to range in Excel

Now the array table has been converted to list table.
A screenshot of the list table created from the array table in Excel


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:

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:
A screenshot of selecting the array table excluding headers in Excel

4. Click OK to go to next dialog to select a cell to output the list table. See screenshot:
A screenshot of selecting a cell to output the list table in Excel

5. Click OK, and the array table has been converted to list.
A screenshot of the converted list table in Excel

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:
A screenshot of the Kutools Fill Blank Cells option

2. In the Fill Blank Cells dialog, check Based on values and Down options. See screenshot:
A screenshot of the Fill Blank Cells dialog

3. Click Ok or Apply, and now the blank cells are filled based on above values.
A screenshot of filled blank cells in an Excel list table

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, equipped with AI 🤖, offers over 300 handy features to simplify your tasks.

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:
A screenshot of the Kutools Transpose Table Dimensions option in Excel

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:
A screenshot of the Transpose Table Dimensions dialog

3. Click Ok, now the array table has been converted to a list table.
A screenshot of the list table created from the array table using Kutools

Click here to know more about Transpose Table Dimensions.

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
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

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!

All Kutools add-ins. One installer

Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.

Excel Word Outlook Tabs PowerPoint
  • All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
  • One installer, one license — set up in minutes (MSI-ready)
  • Works better together — streamlined productivity across Office apps
  • 30-day full-featured trial — no registration, no credit card
  • Best value — save vs buying individual add-in