{"id":23652,"date":"2022-01-14T12:20:29","date_gmt":"2022-01-14T11:20:29","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=23652"},"modified":"2023-11-29T23:10:28","modified_gmt":"2023-11-29T22:10:28","slug":"expand-and-collapse-buttons","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/expand-and-collapse-buttons\/","title":{"rendered":"Expand and Collapse buttons in Excel Pivot Tables"},"content":{"rendered":"<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-and-Collapse-buttons.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Expand and Collapse buttons in Excel Pivot Tables\"  class=\"alignnone size-full wp-image-25407\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-and-Collapse-buttons.png\" alt=\"Expand and Collapse buttons in Excel Pivot Tables\" width=\"800\" height=\"450\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-and-Collapse-buttons.png 800w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-and-Collapse-buttons-300x169.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-and-Collapse-buttons-768x432.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>The magic with Pivot Tables is it is very <strong>easy to expand rows to show additional details<\/strong> for your analysis, then to<strong> quickly collapse and hide that additional data<\/strong>. It conveniently has <strong>expand and collapse buttons<\/strong> for easily viewing and hiding additional data.<\/p>\n<p>I will show you quickly how to use that for your <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/image-and-data-types-in-pivot-tables\/\" target=\"_blank\" rel=\"noopener\">Pivot Table<\/a> rows and columns.<\/p>\n<p><em><strong>Exercise Workbook:<\/strong><\/em><\/p>\n<div class=\"after-post-box\">\n<p class=\"line-two\"><a class=\"IRPP_minimalist icon-download button small\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons.xlsx\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\"><strong>download excel workbook<\/strong><i class=\"fa fa-download\"><\/i><\/span><span class=\"postTitle px-3\">Expand-Collapse-buttons.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<hr \/>\n<p>Here is our Pivot Table.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Expand and Collapse buttons in Excel Pivot Tables\"  class=\"alignnone size-full wp-image-23656\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-01.jpg\" alt=\"Expand and Collapse buttons in Excel Pivot Tables\" width=\"611\" height=\"268\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-01.jpg 611w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-01-300x132.jpg 300w\" sizes=\"(max-width: 611px) 100vw, 611px\" \/><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1:<\/strong><\/span> You can quickly click on the <strong>&#8211; button<\/strong> to collapse the Product Field, or the <strong>+ button<\/strong> to expand the Product Field. Give it a try!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Expand and Collapse buttons in Excel Pivot Tables\"  class=\"alignnone size-full wp-image-23657\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-02.jpg\" alt=\"Expand and Collapse buttons in Excel Pivot Tables\" width=\"572\" height=\"284\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-02.jpg 572w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-02-300x149.jpg 300w\" sizes=\"(max-width: 572px) 100vw, 572px\" \/><\/p>\n<p>You can see the ICE CUBES is now collapsed, while BOTTLES has expanded.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Expand and Collapse buttons in Excel Pivot Tables\"  class=\"alignnone size-full wp-image-23658\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-03.jpg\" alt=\"Expand and Collapse buttons in Excel Pivot Tables\" width=\"544\" height=\"283\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-03.jpg 544w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-03-300x156.jpg 300w\" sizes=\"(max-width: 544px) 100vw, 544px\" \/><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2:<\/strong><\/span> If you want this change to happen for all of the Products, <strong>right-click<\/strong> on a Product Field (Bottles) and select <em><strong>Expand\/Collapse &gt; Expand Entire Field<\/strong><\/em><\/p>\n<p>You can select the\u00a0<strong>Collapse Entire Field\u00a0<\/strong>option instead if you want to collapse all of the Product Fields.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Expand and Collapse buttons in Excel Pivot Tables\"  class=\"alignnone size-full wp-image-23659\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-04.jpg\" alt=\"Expand and Collapse buttons in Excel Pivot Tables\" width=\"580\" height=\"523\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-04.jpg 580w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-04-300x271.jpg 300w\" sizes=\"(max-width: 580px) 100vw, 580px\" \/><\/p>\n<p>All of the Products are now expanded!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Expand and Collapse buttons in Excel Pivot Tables\"  class=\"alignnone size-full wp-image-23660\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-05.jpg\" alt=\"Expand and Collapse buttons in Excel Pivot Tables\" width=\"544\" height=\"518\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-05.jpg 544w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-05-300x286.jpg 300w\" sizes=\"(max-width: 544px) 100vw, 544px\" \/><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 3:<\/strong><\/span> What if we want to expand the Salesperson field? <strong>Right-click<\/strong> on any Salesperson and select <em><strong>Expand\/Collapse &gt; Expand Entire Field<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Expand and Collapse buttons in Excel Pivot Tables\"  class=\"alignnone wp-image-23661 size-full\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-06.jpg\" alt=\"Expand and Collapse buttons in Excel Pivot Tables\" width=\"625\" height=\"587\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-06.jpg 625w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-06-300x282.jpg 300w\" sizes=\"(max-width: 625px) 100vw, 625px\" \/><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 4:<\/strong><\/span> You will get a selection to add that detail under the Salesperson field. Select\u00a0<strong>SALES QTR<\/strong> and click\u00a0<strong>OK<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Expand and Collapse buttons in Excel Pivot Tables\"  class=\"alignnone size-full wp-image-23662\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-07.jpg\" alt=\"Expand and Collapse buttons in Excel Pivot Tables\" width=\"309\" height=\"204\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-07.jpg 309w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-07-300x198.jpg 300w\" sizes=\"(max-width: 309px) 100vw, 309px\" \/><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 5:<\/strong><\/span> Now you have an additional level of detail (Sales Quarter) under Salesperson for your analysis!<\/p>\n<p>You have the same functionality for columns as well, drag the\u00a0<strong>SALES QTR<\/strong> field from\u00a0<strong>Rows\u00a0<\/strong>to\u00a0<strong>Columns<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Expand and Collapse buttons in Excel Pivot Tables\"  class=\"alignnone size-full wp-image-23663\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-08.jpg\" alt=\"Expand and Collapse buttons in Excel Pivot Tables\" width=\"554\" height=\"601\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-08.jpg 554w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-08-277x300.jpg 277w\" sizes=\"(max-width: 554px) 100vw, 554px\" \/> <img loading=\"lazy\" decoding=\"async\" title=\"Expand and Collapse buttons in Excel Pivot Tables\"  class=\"alignnone size-full wp-image-23664\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-09.jpg\" alt=\"Expand and Collapse buttons in Excel Pivot Tables\" width=\"350\" height=\"595\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-09.jpg 350w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-09-176x300.jpg 176w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 6:<\/strong><\/span> Now our column of Sales Year now has the additional detail of\u00a0<strong>Sales Quarters<\/strong>.<\/p>\n<p>You can quickly click on the <strong>&#8211; button<\/strong> to collapse the Sales Year Field, or the <strong>+ button<\/strong> to expand the Sales Year Field.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Expand and Collapse buttons in Excel Pivot Tables\"  class=\"alignnone size-full wp-image-23665\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-10.jpg\" alt=\"Expand and Collapse buttons in Excel Pivot Tables\" width=\"830\" height=\"545\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-10.jpg 830w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-10-300x197.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-10-768x504.jpg 768w\" sizes=\"(max-width: 830px) 100vw, 830px\" \/><\/p>\n<p>You can now see we have collapsed the\u00a0<strong>2012\u00a0<\/strong>column while expanding the <strong>2013<\/strong> column using expand and collapse buttons.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Expand and Collapse buttons in Excel Pivot Tables\"  class=\"alignnone size-full wp-image-23666\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-11.jpg\" alt=\"Expand and Collapse buttons in Excel Pivot Tables\" width=\"836\" height=\"553\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-11.jpg 836w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-11-300x198.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Expand-Collapse-buttons-11-768x508.jpg 768w\" sizes=\"(max-width: 836px) 100vw, 836px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/101-excel-pivot-tables\/\" target=\"_blank\"><strong>Click here<\/strong><\/a> to learn all about Excel Pivot Tables!<\/p>\n<p>&nbsp;<\/p>\n<p>Make sure to download our FREE PDF on the<strong><a href=\"https:\/\/app.monstercampaigns.com\/c\/czseo0viyrmspcx5ndve\/\" target=\"_blank\" rel=\"noopener nofollow\">\u00a0333 Excel keyboard Shortcuts here<\/a>:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":25407,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[4],"tags":[897,892,896],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/23652"}],"collection":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=23652"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/23652\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/25407"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=23652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=23652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=23652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}