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.

Exercise Workbook:

download excel workbookExpand-Collapse-buttons.xlsx


Here is our Pivot Table.

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

 

Click here to learn all about Excel Pivot Tables!

 

Make sure to download our FREE PDF on the 333 Excel keyboard Shortcuts here:

 

 

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  Filter a Pivot Table by Dates

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...