Skip to main content

Excel: How to expand or collapse all fields in Pivot Table

Pivot Table is usually used for analyzing data in Excel. If there are many groups, sometimes the groups will be collapsed or expanded for different viewing requests. However, it will be annoying if you want to expand or collapse all fields and click the expand/collapse button one by one as below screenshot:
doc turn off auto complete 1

Here introduce some ways for quickly expanding or collapsing all groups in Pivot Table.

Expand or collapse all fields by PivotTable built-in feature

Expand or collapse all fields by shortcuts

Expand or collapse all fields by PivotChart


Expand or collapse all fields by PivotTable built-in feature

In Excel, there are two built-in features that can be used to expand or collapse all fields at once time.

Expand Field and Collapse Field button

Click on the group name of the Pivot Table to show the PivotTable Analyze tab, and go to click Expand Field or Collapse Field button as you need.
doc turn off auto complete 1
doc turn off auto complete 1

Right-click Menu

Click on the group name that you want to expand or collapse, and in the popping-up context menu, click Expand/Collapse > Expand Entire Field or Collapse Entire Field.
doc turn off auto complete 1


Expand or collapse all fields by shortcuts

If you like to use shortcuts to finish some Excel operations, here are also two groups of shortcuts that can quickly expand or collapse all fields in PivotTable.

Select the group name you want to operate, then use the below shortcuts

Expand fields: Alt + A + J
Collapse fields: Alt + A + H

Expand or collapse all fields by PivotChart

If you are in Excel 2016 or later versions, the PivotChart will be a good tool for expanding or collapsing fields in Excel.

Choose PivotChart & PivotTable instead of PivotTable when you create the PivotTable.

Select the original data, click Insert > PivotChart > PivotChart & PivotTable.
doc turn off auto complete 1

Then set the Pivot Table, and go to the Pivot Chart, click the plus or minus button to expand or collapse the fields in Pivot Table. See screenshot:
doc turn off auto complete 1


Other Operations (Articles)

How To Fix/Lock Background Color In A Sheet
Sometimes, when you share a sheet with others to edit, you may want to lock the background color in a range of cells and prevent them to be changed.

How To Reduce Excel File Size?
Sometimes, it will take minutes to open or save if the Excel file is too large. For solving this problem, here in this tutorial, it tells you how to reduce the Excel file size by removing the contents or formats which are unnecessary or never used.

Excel: How To Create Or Insert A Bookmark
Have you ever imagined creating or inserting a bookmark for quickly jumping to a specific data range while there is a lot of data in a worksheet or a workbook?

How to apply shading to odd or even (alternative) rows/columns in Excel?
While designing a worksheet, many people tend to apply shading to odd or even (alternative) rows or columns in order to make the worksheet more visual. This article will show you two methods to apply shading to odd or even rows/columns in Excel.


  • 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 and Keeping Data; Split Cells Content; Combine Duplicate Rows and Sum/Average... 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...
  • Favorite and Quickly Insert Formulas, Ranges, Charts and Pictures; Encrypt Cells with password; Create Mailing List and send emails...
  • 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...
  • Pivot Table Grouping by week number, day of week and more... Show Unlocked, Locked Cells by different colors; Highlight Cells That Have Formula/Name...
kte tab 201905
  • 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!
officetab bottom

 

Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations