Skip to main content

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

Convert a Crosstab (2D) Table to a Flat List in Excel: A Full Guide

Author Kelly Last modified

When dealing with Excel data, it is common to encounter crosstab tables (also known as pivot tables or matrix tables) where data is arranged in a two-dimensional format. However, many data analysis and reporting tasks require data to be in a normalized list format (a "long format" table). This article explains various efficient methods to transform a crosstab table into a list, making it easier to analyze, filter, and use in databases.

Convert a Crosstab to list

Convert a crosstab table (2-dimensional table) to list in Excel


Convert a crosstab table to list with POWER QUERY

In Excel, Power Query is the most efficient way to transform data, especially when handling large datasets.

  1. Select your data and go to "Data" tab, then, click "From Table/Range", see screenshot:
    click From Table/Range
  2. In the popped out "Create Table" dialog box, click OK button.
    click OK in the dialog box
  3. Then, a "Power Query Editor" window is opened. In the window, select all the column headers except the first one (Category).
    select all the column headers except the first one
  4. And then, click on "Transform" > "Unpivot Columns". The Power Query will create two new columns: "Attribute" (your former column headers) and "Value" (the cell values).
    click on Transform > Unpivot Columns
  5. Rename these columns appropriately (e.g., "Month" and "Sales") to your need.
  6. Then, Click "Home" > "Close & Load" to return the transformed list to Excel. The flat list will appear in a new sheet.
     a Crosstab is converted to list
Tip: This method is dynamic, meaning if new data is added, you can refresh the query to update the list automatically.

Convert a crosstab table to list with Kutools for Excel

While Power Query can achieve this, Kutools for Excel provides the fastest and easiest solution with just a few clicks. With Kutools for Excel’s "Transpose Table Dimensions" feature, you can quickly convert complex crosstab tables into structured lists or vice versa without writing formulas or going through multiple transformation steps.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After installing Kutools for Excel, please do with the following steps:

  1. Select the table which you will convert to a list. Then, click "Kutools" > "Range" > "Transpose Table Dimensions".
    click Transpose Table Dimension of kutools
  2. In the "Transpose Table Dimensions" dialog box, check the "Cross table to list" option, in the "Results range" section, select a cell to put the result, see screenshot:
    specify the options in the dialog box
  3. Finally, click OK button, you will see the original table is converted into a flat list.
    a Crosstab is converted to list by kutools

Convert a crosstab table to list by uisng formulas

If you're not yet comfortable using Power Query or need a solution that works in older Excel versions, these powerful formulas will effectively convert your crosstab data into a structured list format.

For list the category column, please apply the following formula:

=INDEX($A$2:$A$4, INT((ROW(A1)-1)/COLUMNS($B$1:$D$1))+1)
Tip: This formula essentially creates the first column of your flattened table by repeating each row header according to how many column headers exist in your original crosstab table.

Drag the formula down to get all items of the category until error values are displayed. See screenshot:
formual to list the category column

For list the month column, please apply the following formula:

=INDEX($B$1:$D$1, MOD(ROW(A1)-1, COLUMNS($B$1:$D$1))+1)
Tip: This formula cycles through your column headers repeatedly. For each row of your output, it picks the next month in sequence, and restarts after the last month.

Auto-fill the formula downward to populate all required rows, ensuring the range matches your original category column's row count.
formual to list the month column

For list all other data, please apply the following formula:

=INDEX($B$2:$D$4, INT((ROW(A1)-1)/COLUMNS($B$1:$D$1))+1, MOD(ROW(A1)-1, COLUMNS($B$1:$D$1))+1)
Tip: This formula extracts values from a 2D table (matrix) and displays them in a vertical list, matching each row header with every column header systematically.

Drag the formula down until all data is extracted. See screenshot:
formual to list the other data


Conclusion

For most users, Power Query provides the ideal balance of power, flexibility, and maintainability for converting crosstab tables to lists. Kutools offers the simplest solution for those who have it installed, while formulas remain a viable option when no other tools are available.

Choose the method that best fits your technical comfort level, Excel version, and the frequency with which you need to perform this transformation. For recurring reports or dashboards, Power Query's refresh capability makes it the clear winner in most scenarios. If you're interested in exploring more Excel tips and tricks, our website offers thousands of tutorials to help you master Excel.

Related 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
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