Pivot table filtering with Slicers and Timelines: Excel 2016’s slicers make it possible to quickly filter the data in your pivot tables on a multiple of columns via onscreen graphic objects. Timelines enable you to graphically filter pivot table data using a timeline based on any date-type column included in the pivot table’s Data Model. For most starter users of Microsoft Excel, VBA macros may be hard to use. So here we try a third-party add-in named Kutools for Excel. With Kutools for Excel installed, you can easily and quickly convert cross table to list table. Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 30 days.
How To Create A Cross Tab Table In Excel For Mac 2016 Product
How to convert crosstab table (2-dimensional table) to list in Excel?
Do you know how to convert a cross table (two dimensional table) to a list table (one dimensional table) in Microsoft Excel? For some reasons, you may need to convert a table (with row headings and column headings) to a flat list in Excel. The following tricks can help you convert a cross table to flat list easily and quickly:
Amazing! Using Efficient Tabs in Excel Like Chrome, Firefox and Safari!
Save 50% of your time, and reduce thousands of mouse clicks for you every day!
Supposing you have a cross table and need to convert it to a list as follows.
Cross table (with row headings and columns headings) | A list table (one dimensional table) |
Convert cross table to list in Excel with VBA
The following VBA macro can help you quickly convert all cross tables in active worksheet to flat lists.
Step 1: Hold down the Alt + F11 keys in Excel, and it opens the Microsoft Visual Basic for Applications window.
Step 2: Click Insert > Module, and paste the following macro in the Module Window.
The VBA on transpose crosstab table to list:
Sub ConvertTableToList()
Const TEST_COLUMN As String = 'A'
Dim i As Long, j As Long
Dim iLastRow As Long
Dim iLastCol As Long
Application.ScreenUpdating = False
With ActiveSheet
iLastRow = .Cells(.Rows.Count, TEST_COLUMN).End(xlUp).Row
For i = iLastRow To 2 Step -1
iLastCol = .Cells(i, .Columns.Count).End(xlToLeft).Column
For j = iLastCol To 3 Step -1
.Rows(i + 1).Insert
.Cells(i + 1, 2).Value = .Cells(i, j).Value
.Cells(i, j).Value = '
Next j
Next i
.Rows(1).Delete
End With
Application.ScreenUpdating = True
End Sub
Const TEST_COLUMN As String = 'A'
Dim i As Long, j As Long
Dim iLastRow As Long
Dim iLastCol As Long
Application.ScreenUpdating = False
With ActiveSheet
iLastRow = .Cells(.Rows.Count, TEST_COLUMN).End(xlUp).Row
For i = iLastRow To 2 Step -1
iLastCol = .Cells(i, .Columns.Count).End(xlToLeft).Column
For j = iLastCol To 3 Step -1
.Rows(i + 1).Insert
.Cells(i + 1, 2).Value = .Cells(i, j).Value
.Cells(i, j).Value = '
Next j
Next i
.Rows(1).Delete
End With
Application.ScreenUpdating = True
End Sub
Step 3: Click the F5 key to run this macro.
Then you will see the converted list showing as following screenshot:
Note:
1. This VBA macro loses some data of original table, such as headers, or others. In this case, the headers (Name, Grade, and Class) are lost.
2. You can change As String = 'A', to meet your need. For example, if the cross table is stated in Column E, you should instead 'E' of 'A'.
3. And if there are other data in the worksheet, sometimes the data in the list will be wrong after converting a cross table.
Convert cross tables to lists in Excel with Kutools for Excel
If you have Kutools for Excel installed, you can use its Transpose Table Dimensions tool to convert cross tables to flat list quickly.
Kutools for Excel includes more than 300 handy Excel tools. Free to try with no limitation in 30 days. Get it Now.
Step 1: Select the table which you will convert it to a list.
Step 2: Click the Kutools >Modify > Transpose Table Dimension. See the following screen shot:
How To Create A Cross Tab Table In Excel For Mac 2016 Download
Step 3: In Transpose Table Dimensions dialog box, check the Cross table to list option, and select the Results range with clicking the button.
Step 4: Click OK button.
Then you will see the original table is converted into a flat list as following screenshot:
Transpose Table Dimensions also can convert list to crosstab table. For more information, please go to Transpose Table Dimensions.
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.
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
How To Create A Cross Tab Table In Excel For Mac 2016 Manual
- 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!
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.Thanks for the code, I translated very large tables into lists without any issues, worked a charm.
- To post as a guest, your comment is unpublished.Brilliant! Kutools does the trick. Awesome guys thank you.
- To post as a guest, your comment is unpublished.THANK YOU!! Your macro worked perfectly. I'll use your link if I choose to purchase KuTools.
Personal | Business | Business, 5 seats | |
One-time purchase You pay only once and can use the purchased version as long as you need. | |||
Unconditional 60-day money back guarantee If you are not 100% happy with the product, you can cancel an order and get your money back with no questions asked. | |||
Volume discounts
| |||
Support for Excel 2019 – 2010 All Excel versions 2019–2010 are supported, both 32- and 64-bit. Also, all desktop Excel versions included in Office 365 subscriptions. | |||
Free upgrades for 2 years During 2 years after the purchase you get all minor updates and major upgrades for free. | |||
License for | Single user | Single user | 5 users |
Technical support service Our support team is always happy to help you via email, live chat, or phone no matter how long ago you purchased your license. | |||
Corporate deployment (GPO, SCCM) Your system administrator can quickly and easily deploy Ultimate Suite for a group of users without even disturbing them. | |||
Features and hotfixes on request We’ll do everything in our power to create additional features you need and fix the found bugs as soon as possible. | |||
Enjoy Ultimate Suite with 30% discount | $69 Buy now | $99 Buy now | $24757 Buy now |