Pivot Table Issues

How to Split Multiple Comma-Separated Selections into Separate PivotTable Items

Ayan MasoodAyan Masood Nov 3, 2026 869 views

Question details

The user needs to configure an Excel PivotTable to individually count multiple comma-separated items stored within a single cell.

How to Split Multiple Selections into Separate Excel PivotTable Items
Product
Microsoft Excel
Device & OS
not provided
Scenario
Creating a PivotTable summary from survey responses, validation lists, or system exports where multiple selections are combined into one cell as a comma-separated string.
Observed behavior
The PivotTable treats the entire comma-separated string as a single distinct item, rather than splitting the string and counting each selection separately.
Before you start

Before restructuring your data, duplicate your original worksheet. Normalizing data involves creating additional rows, which will permanently alter the layout of your source table.

Solution 1Recommended

Normalize Data Using Power Query to Split into Rows

Use the Power Query editor to automatically split comma-separated values into individual rows before loading the data into a PivotTable. This is the most dynamic and robust method.

To get an accurate count in a PivotTable, the source data must be formatted dynamically so that each pain point or selection has its own individual row. Power Query handles this normalization automatically.

1
Load Data into Power Query

Select any cell in your source data, go to the 'Data' tab on the ribbon, and click 'From Table/Range'. Click 'OK' to turn your data into a table and open the Power Query Editor.

2
Select the Target Column

In the Power Query Editor window, click on the header of the column that contains the comma-separated multiple selections.

3
Split Column by Delimiter

On the 'Home' tab, click 'Split Column' and select 'By Delimiter'. Choose 'Comma' from the delimiter drop-down list.

4
Expand Advanced Options

In the Split Column dialog, click 'Advanced options'. Select the radio button for 'Split into Rows' and click 'OK'. The data will expand, placing each item on its own row.

5
Load Data to a PivotTable

Click 'Close & Load' in the top-left corner. Once the normalized data loads into a new worksheet, go to 'Insert' > 'PivotTable' to generate accurate individual counts.

Normalize Data Using Power Query to Split into Rows
Dynamic Updates: When new data is added to your original table, simply right-click the Power Query result table and select 'Refresh'. The PivotTable will update with the newly split items automatically.
Manage Data Effortlessly

Easily Clean Data and Create PivotTables with WPS Spreadsheet

WPS Spreadsheet offers a comprehensive suite of robust data analysis tools. You can quickly normalize complex, messy datasets and generate highly accurate PivotTables to streamline your reporting.

  1. 1. Open Your Dataset: Launch WPS Spreadsheet and open the file containing your combined data selections.
  2. 2. Split the Data: Highlight the target column, navigate to the 'Data' tab, and use the 'Text to Columns' tool to separate your comma-separated values.
  3. 3. Consolidate to a Single Column: Quickly stack the split variables vertically into one unified column for proper analysis.
  4. 4. Insert PivotTable: Navigate to 'Insert' > 'PivotTable' to dynamically count and evaluate each individual item accurately.
Fully compatible with Microsoft Excel (.xlsx, .xls) files and formatting.Intuitive Text to Columns feature to quickly split delimited data.Powerful PivotTable functions for dynamic data summarization.Lightweight installation and incredibly fast processing speed.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my PivotTable group comma-separated values together as one item?

A PivotTable reads the exact text string in a cell as a single unique entity. If 'Item A, Item B' is contained within one cell, the PivotTable registers that entire string as one item, rather than recognizing 'Item A' and 'Item B' individually.

Can I use a DAX formula in Power Pivot to split comma-separated values?

While Power Pivot is excellent for complex calculations, splitting delimited strings into rows is fundamentally a data transformation task. It is best and most efficiently done in Power Query before the data is ever loaded into the Data Model.

Will my PivotTable automatically update if I add more comma-separated values?

If you used the Power Query method (Split into Rows), simply right-click the query output table and select 'Refresh', then refresh the PivotTable. If you used the manual Text to Columns method, you will have to repeat the manual splitting and stacking process for any new data.