Pivot Table Issues

How to Expand Only One Item in an Excel PivotTable

Bushra ParveenBushra Parveen Nov 11, 2026 869 views

Question details

The user wants to expand a specific product under a single store in a PivotTable without automatically triggering the expansion of that same product under all other stores.

How to Expand Only One Item in an Excel PivotTable
Product
Excel
Device & OS
not provided
Scenario
Viewing grouped hierarchical data, such as products categorized within various stores, inside a PivotTable report.
Observed behavior
Expanding a product item in one store causes identically named product items in every other store to expand simultaneously.
Before you start

Before proceeding, check your PivotTable data source worksheet and ensure you have access to edit the raw data columns.

Solution 1Recommended

Create a Unique Identifier in the Source Data

Modify your source data to combine the parent and child categories into a single unique field, preventing the PivotTable from treating identical names as the same global item.

Because PivotTables treat items with identical names in the same field level as a single entity, expanding a product under Store A will universally expand it under Store B. To isolate the expansion to a single row, you must create a unique identifier for each product-store combination.

1
Add a helper column

Open your source data worksheet. Insert a new column next to your Product column and name it 'Unique Product'.

2
Combine the fields

Enter a formula to concatenate the Store and Product names. For example, type =A2&" - "&B2 (assuming A contains the Store and B contains the Product) and drag the formula down to apply it to all rows.

3
Refresh the PivotTable

Go back to your PivotTable sheet, right-click anywhere inside the PivotTable, and select 'Refresh' from the context menu so the new column appears in the PivotTable Fields list.

4
Update the Rows area

In the PivotTable Fields pane, uncheck the original Product field and drag your new 'Unique Product' field into the Rows area. You can now expand or collapse individual items independently.

Create a Unique Identifier in the Source Data
Layout Design Alternative: If you cannot alter the source data, consider placing the Store field and Product field in separate columns (Tabular Form) instead of a compact hierarchy to change how the data is visually presented.
Efficient Data Management

Create and Manage PivotTables Easily with WPS Spreadsheet

WPS Spreadsheet provides robust PivotTable capabilities that let you seamlessly group, expand, and analyze your data. It is fully compatible with Microsoft Excel formats, allowing you to edit existing reports smoothly.

  1. 1. Open your dataset: Launch WPS Spreadsheet and open the workbook containing your raw data.
  2. 2. Insert a PivotTable: Select your data range, navigate to the Insert tab on the top ribbon, and click on 'PivotTable'.
  3. 3. Configure the layout: Choose whether to place the PivotTable in a new worksheet or an existing one, then click OK.
  4. 4. Manage fields: Drag your unique category fields into the Rows area. Use the +/- buttons next to the grouped items to expand or collapse data rows independently.
Free and lightweight Office suiteFully compatible with Microsoft Excel (.xlsx) formatsAdvanced PivotTable features and data analysis toolsFamiliar user interface for immediate productivity
microsoft office alternative - wps office

Frequently Asked Questions

Why do identical items expand together in a PivotTable?

PivotTables link items with the exact same name within the same field level. Expanding one instance signals the software to expand that specific item globally across all parent groups.

Can I disable this auto-expand behavior in the PivotTable settings?

No, there is no built-in setting in Microsoft Excel or WPS Spreadsheet to turn off this native behavior. The most effective workaround is modifying the source data to ensure each item has a unique name.

How do I collapse all expanded items in my PivotTable at once?

Right-click any item in the expanded field, select 'Expand/Collapse' from the context menu, and click 'Collapse Entire Field'. This will instantly hide the details for all items in that specific category.