{"id":5162,"date":"2020-11-30T17:19:45","date_gmt":"2020-11-30T16:19:45","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=5162"},"modified":"2024-03-22T18:55:33","modified_gmt":"2024-03-22T17:55:33","slug":"group-quarters-years-excel-pivot-tables","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/group-quarters-years-excel-pivot-tables\/","title":{"rendered":"Group By Quarters and Years With Excel Pivot Tables"},"content":{"rendered":"<p>Ever encountered a <strong>needing to add quarters to<a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/101-excel-pivot-tables\/\" target=\"_blank\" rel=\"noopener\"> pivot table<\/a><\/strong>?<\/p>\n<p>I was faced with this\u00a0same scenario and looking\u00a0at my data on hand, I only had sales numbers for each individual day.<\/p>\n<p>Grouping these would take a ton of effort &amp; complex <a class=\"wpil_keyword_link\" title=\"formulas\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/top-excel-formulas-function-examples-to-get-better-at-microsoft-excel\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">formulas<\/a>!<\/p>\n<p>Thankfully there is the <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/connect-slicers-to-multiple-excel-pivot-tables\/\" target=\"_blank\" rel=\"noopener\">Pivot Table<\/a> way to add quarters to pivot table, which is quick, easy, and reduces the risks of making any errors&#8230;.and it makes updating the report easy with any new additional data!<\/p>\n<div>\n<p>In the example below I show you how to add quarters to pivot table in Excel:<\/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\/2016\/11\/Group-by-Quarters-and-Years.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years.xlsx\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\"><strong> download excel workbook<\/strong><\/span><span class=\"postTitle px-3\">Group-by-Quarters-and-Years.xlsx<\/span><\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1:<\/strong><\/span>Insert a <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/new-pivot-table-features-in-excel-2019-and-office-365\/\" target=\"_blank\" rel=\"noopener\">new Pivot table by<\/a> clicking\u00a0on your data and going\u00a0to<strong><em>\u00a0Insert &gt; Pivot Table &gt; New Worksheet or Existing Worksheet<\/em><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5163\" title=\"Group By Quarters and Years With Excel Pivot Tables\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-01.png\" alt=\"Group By Quarters and Years With Excel Pivot Tables\" width=\"386\" height=\"344\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-01.png 386w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-01-300x267.png 300w\" sizes=\"(max-width: 386px) 100vw, 386px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2:<\/strong><\/span>\u00a0In the\u00a0<strong>ROWS<\/strong>\u00a0section put in the\u00a0<em><strong>Order Date<\/strong><\/em>field.<\/p>\n<p>Notice that in Excel 2016 (the version that I am using) it will <strong>automatically Group<\/strong><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/group-dates-with-a-pivot-table\/\" target=\"_blank\" rel=\"noopener\"> the <em>Order Date<\/em><\/a> into Years &amp; Quarters:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5164\" title=\"Group By Quarters and Years With Excel Pivot Tables\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-02.png\" alt=\"Group By Quarters and Years With Excel Pivot Tables\" width=\"354\" height=\"637\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-02.png 354w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-02-167x300.png 167w\" sizes=\"(max-width: 354px) 100vw, 354px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 3:<\/strong><span style=\"color: #000000;\">If you do not have Excel 2016, right-click<\/span><\/span><span style=\"color: #000000;\">\u00a0on any Row value in your Pivot Table and select<strong>\u00a0Group\u00a0<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5165\" title=\"Group By Quarters and Years With Excel Pivot Tables\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-03.png\" alt=\"Group By Quarters and Years With Excel Pivot Tables\" width=\"350\" height=\"465\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-03.png 350w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-03-226x300.png 226w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 4:<\/strong><\/span>In the Grouping dialogue box,Excelwas able to determine our date range (minimum date and maximum date).<\/p>\n<p>Make sure only <b>Quarters\u00a0<\/b>and<b> Years\u00a0<\/b>are\u00a0selected\u00a0(which will be highlighted in blue).<\/p>\n<p>This will group Excel pivot table quarters. Click <strong>OK.\u00a0<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5166\" title=\"Group By Quarters and Years With Excel Pivot Tables\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-04.png\" alt=\"Group By Quarters and Years With Excel Pivot Tables\" width=\"235\" height=\"307\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-04.png 235w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-04-230x300.png 230w\" sizes=\"(max-width: 235px) 100vw, 235px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Notice that a\u00a0<strong><em>Years<\/em><\/strong>fieldhas been automatically added to our PivotTable Fields List. \u00a0This is cool, as we can use this field for further Pivot Table analysis:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5167\" title=\"Group By Quarters and Years With Excel Pivot Tables\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-05.png\" alt=\"Group By Quarters and Years With Excel Pivot Tables\" width=\"354\" height=\"637\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-05.png 354w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-05-167x300.png 167w\" sizes=\"(max-width: 354px) 100vw, 354px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 5:<\/strong><\/span> In the\u00a0<strong>VALUES <\/strong>area\u00a0put in the\u00a0<em><strong>Sales<\/strong><\/em>field. This will get the total of the Sales for each Quarter-Year\u00a0date range:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5168\" title=\"Group By Quarters and Years With Excel Pivot Tables\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-06.png\" alt=\"Group By Quarters and Years With Excel Pivot Tables\" width=\"354\" height=\"637\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-06.png 354w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-06-167x300.png 167w\" sizes=\"(max-width: 354px) 100vw, 354px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Now we have our <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/group-sales-with-a-pivot-table\/\" target=\"_blank\" rel=\"noopener\">sales numbers grouped<\/a> by Years &amp; Quarters!<\/p>\n<p>Notice that we can improve the formatting:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-07.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5169 size-full\" title=\"Group By Quarters and Years With Excel Pivot Tables\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-07.png\" alt=\"Group By Quarters and Years With Excel Pivot Tables\" width=\"200\" height=\"437\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-07.png 200w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-07-137x300.png 137w\" sizes=\"(max-width: 200px) 100vw, 200px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 6:\u00a0<\/strong><\/span>Click the <strong>Sum of SALES<\/strong> and select\u00a0<strong><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/show-field-and-value-settings-in-excel-pivot-tables\/\" target=\"_blank\" rel=\"noopener\">Value Field Settings<\/a><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-08.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5170\" title=\"Group By Quarters and Years With Excel Pivot Tables\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-08.png\" alt=\"Group By Quarters and Years With Excel Pivot Tables\" width=\"393\" height=\"638\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-08.png 393w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-08-185x300.png 185w\" sizes=\"(max-width: 393px) 100vw, 393px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 7:\u00a0<\/strong><\/span>Select\u00a0<strong><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/pivot-table-number-formatting\/\" target=\"_blank\" rel=\"noopener\">Number Format<\/a><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-09.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5171\" title=\"Group By Quarters and Years With Excel Pivot Tables\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-09.png\" alt=\"Group By Quarters and Years With Excel Pivot Tables\" width=\"373\" height=\"319\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-09.png 373w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-09-300x257.png 300w\" sizes=\"(max-width: 373px) 100vw, 373px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 8:\u00a0<\/strong><\/span>Select\u00a0<strong>Currency.\u00a0<\/strong>Click\u00a0<strong>OK.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-10.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5172\" title=\"Group By Quarters and Years With Excel Pivot Tables\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-10.png\" alt=\"Group By Quarters and Years With Excel Pivot Tables\" width=\"529\" height=\"465\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-10.png 529w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-10-300x264.png 300w\" sizes=\"(max-width: 529px) 100vw, 529px\" \/><\/a><\/p>\n<p>This is how to add years and quarters to Pivot Table. You now have your total sales for each quarterly period!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-11.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5173\" title=\"Group By Quarters and Years With Excel Pivot Tables\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-11.png\" alt=\"Group By Quarters and Years With Excel Pivot Tables\" width=\"170\" height=\"359\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-11.png 170w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Group-by-Quarters-and-Years-11-142x300.png 142w\" sizes=\"(max-width: 170px) 100vw, 170px\" \/><\/a><\/p>\n<\/div>\n<p><span class=\"TextRun SCXW85513857 BCX8\" lang=\"EN-GB\" xml:lang=\"EN-GB\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW85513857 BCX8\">Learn more about Excel with our <\/span><\/span><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/free-microsoft-excel-online-course\/\" target=\"_blank\" rel=\"noopener\"><span class=\"TextRun Underlined SCXW85513857 BCX8\" lang=\"EN-GB\" xml:lang=\"EN-GB\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW85513857 BCX8\">Free Microsoft Excel Online Course!<\/span><\/span><span class=\"EOP SCXW85513857 BCX8\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/a><\/p>\n<div>\n<p><strong>Further Learning:<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/group-by-fiscal-years-quarters\/\" target=\"_blank\" rel=\"noopener\">Group by Fiscal Years &amp; Quarters<\/a><\/li>\n<li><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/group-by-sales-range\/\" target=\"_blank\" rel=\"noopener\">Group by Sales Range in Excel Pivot Tables<\/a><\/li>\n<li><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/group-by-text-fields-in-pivot-table\/\" target=\"_blank\" rel=\"noopener\">Group by Text fields in Excel Pivot Tables<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/100.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2964 size-full\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/728x90.gif\" alt=\"PIVOT BANNER\" width=\"728\" height=\"90\" title=\"\"><\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ever encountered a needing to add quarters to pivot table? I was faced with this\u00a0same scenario and looking\u00a0at my data on hand, I only had sales numbers for each individual day. Grouping these would take a ton of effort &amp; complex formulas! Thankfully there is the Pivot Table way to add quarters to pivot table, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":14873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"Group By Quarters and Years With Excel Pivot Tables","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[4,18],"tags":[202,203,139],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/5162"}],"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=5162"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/5162\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/14873"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=5162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=5162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=5162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}