Pinterest Pixel

Expand and Collapse buttons in Excel Pivot Tables

Bryan
The magic with Pivot Tables is it is very easy to expand rows to show additional details for your analysis, then to quickly collapse and hide that additional data.
It conveniently has expand and collapse buttons for easily viewing and hiding additional data. I will show you quickly how to use that for your Pivot Table rows and columns.

The magic with Pivot Tables is it is very easy to expand rows to show additional details for your analysis, then to quickly collapse and hide that additional data. It conveniently has expand and collapse buttons for easily viewing and hiding additional data. I will show you quickly how to use that for your Pivot Table rows and columns.

Key Takeaways

  • Easily Drill Down or Summarize Data – Expand and Collapse buttons let you quickly view detailed data or hide it for a cleaner summary view.

  • Appear Automatically for Grouped Fields – When your Pivot Table has grouped data, these buttons show up by default to make navigation easier.

  • Can Be Turned On or Off – You can choose to display or hide the Expand and Collapse buttons based on your presentation needs.

  • Enhances Interactive Reporting – These buttons make Pivot Tables more interactive, allowing users to explore data on their own without modifying the table.

  • Simple to Use – Clicking the plus (+) sign expands a group to show details, and clicking the minus (–) sign collapses it to hide the detail.

Our Data Setup

Here is our Pivot Table.

Expand and Collapse buttons in Excel Pivot Tables

How to Expand and Collapse buttons in Excel Pivot Tables

STEP 1: You can quickly click on the – button to collapse the Product Field, or the + button to expand the Product Field. Give it a try!

Expand and Collapse buttons in Excel Pivot Tables

You can see the ICE CUBES is now collapsed, while BOTTLES has expanded.

Expand and Collapse buttons in Excel Pivot Tables

STEP 2: If you want this change to happen for all of the Products, right-click on a Product Field (Bottles) and select Expand/Collapse > Expand Entire Field

You can select the Collapse Entire Field option instead if you want to collapse all of the Product Fields.

Expand and Collapse buttons in Excel Pivot Tables

All of the Products are now expanded!

Expand and Collapse buttons in Excel Pivot Tables

STEP 3: What if we want to expand the Salesperson field? Right-click on any Salesperson and select Expand/Collapse > Expand Entire Field

Expand and Collapse buttons in Excel Pivot Tables

STEP 4: You will get a selection to add that detail under the Salesperson field. Select SALES QTR and click OK

Expand and Collapse buttons in Excel Pivot Tables

STEP 5: Now you have an additional level of detail (Sales Quarter) under Salesperson for your analysis!

You have the same functionality for columns as well, drag the SALES QTR field from Rows to Columns

Expand and Collapse buttons in Excel Pivot Tables Expand and Collapse buttons in Excel Pivot Tables

STEP 6: Now our column of Sales Year now has the additional detail of Sales Quarters.

You can quickly click on the – button to collapse the Sales Year Field, or the + button to expand the Sales Year Field.

Expand and Collapse buttons in Excel Pivot Tables

You can now see we have collapsed the 2012 column while expanding the 2013 column using expand and collapse buttons.

Expand and Collapse buttons in Excel Pivot Tables

Frequently Asked Questions

How do I enable Expand and Collapse buttons in a Pivot Table?
They usually appear automatically, but you can enable them by right-clicking a Pivot Table field and selecting “Show Expand/Collapse Buttons.”

Can I remove the Expand and Collapse buttons from my Pivot Table?
Yes, you can hide them by selecting the Pivot Table, going to the “Analyze” tab, and unchecking “Show Expand/Collapse Buttons.”

Do Expand and Collapse buttons work for all types of Pivot Table fields?
They work for fields that are grouped or hierarchical, such as dates grouped by year and quarter or products grouped by category.

Will expanding or collapsing data change my Pivot Table values?
No, expanding or collapsing only affects how the data is displayed, not the underlying values or calculations.

Is there a shortcut to expand or collapse all groups at once in a Pivot Table?
Yes, right-click any Expand/Collapse button and select “Expand Entire Field” or “Collapse Entire Field” for quick navigation.

If you like this Excel tip, please share it



Expand and Collapse buttons in Excel Pivot Tables | MyExcelOnline


Bryan

Bryan Hong is an IT Software Developer for more than 10 years and has the following certifications: Microsoft Certified Professional Developer (MCPD): Web Developer, Microsoft Certified Technology Specialist (MCTS): Windows Applications, Microsoft Certified Systems Engineer (MCSE) and Microsoft Certified Systems Administrator (MCSA).

He is also an Amazon #1 bestselling author of 4 Microsoft Excel books and a teacher of Microsoft Excel & Office at the MyExecelOnline Academy Online Course.

See also  Create PivotTable from Multiple Sheets in Excel - Top 2 Methods

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...