How to Expand or Collapse All Fields in a PivotTable in Microsoft Excel

Summary This tutorial guides you on how to expand or collapse all fields in a Pivot Table in Microsoft Excel. Although it doesn't allow expanding or collapsing all fields at once, you can do it individually for each field. As for Google Sheets, there's no direct equivalent for this feature.


  1. Open the Excel spreadsheet that contains your Pivot Table.
  2. Click anywhere within your Pivot Table to activate the Pivot Table tools.
  3. Click on the 'Analyze' tab in the Ribbon. In some older Excel versions, this might be the 'Options' tab.
  4. In the 'Active Field' group, you'll see the 'Expand Field' and 'Collapse Field' buttons.
  5. To expand all fields, click on 'Expand Field'. To collapse all fields, click on 'Collapse Field'.

Note: This method will only expand or collapse the currently active field in your Pivot Table. If you want to expand or collapse all fields at once, you need to do this for each field individually.

Microsoft Excel Reference Links:

  1. Overview of PivotTable and PivotChart reports
  2. Expand or collapse field headings in a PivotTable report

As for Google Sheets, as of my knowledge cutoff in September 2021, there is no direct equivalent feature to expand or collapse all fields in a Pivot Table.

Previous
Previous

How to Fix Divide by Zero Errors in Microsoft Excel and Google Sheets

Next
Next

Viewing Full Content in Cells in Microsoft Excel and Google Sheets