How to Group Dates in Excel Chart: 3 Easy Methods

Method 1 – Applying Pivot Chart to Group Dates in Excel

Inserting a Pivot Chart

Step 1: Highlight the range then go to the Insert tab > Click on PivotChart (in the Charts section).

Pivot Chart Insertion-How to Group Dates in Excel

Step 2: The Create Pivot Chart window appears. Excel automatically selects the range. Mark New Worksheet as the Choose where you want the PivotChart to be placed option. Click on OK.

Create PivotChart

Excel takes a moment and displays the Pivot Chart and a Pivot Table. There can’t be any Chart without a Data Source. Excel automatically generates a Pivot Table to insert a Pivot Chart, as depicted in the picture below.

PivotChart Fields


Grouping Dates in Excel Pivot Chart

In the PivotChart Fields side window, tick all the fields. Afterward, place the Order Date in Axis Category, Fruits in Legend, and Sum of Total Amounts in Values.

After placing all the fields in their respective areas, Excel displays the PivotTable and PivotChart.

Pivot Chart Depiction


Final PivotChart

You can furnish the PivotChart according to your need, The final depiction of the PivotChart may look like the following picture.

Final Pivot Chart


Further Grouping of the Dates in PivotChart

Step 1: Place the cursor in any date cell then right-click on it. The Context Menu appears. From the Context Menu, click the Group option.

Pivot Table Group

Step 2: Excel brings up the Grouping dialog box. In that dialog box, you get Grouping By options such as Days, Months, Quarters, and Years. Choose one of them to reorganize the PivotChart.

Group By options


Depiction of the PivotChart Grouped By Months

As the data has only one month of date expansions, the PivotChart depiction is similar to the picture below.

Pivot Chart By Month-How to Group Dates in Excel


Depiction of the PivotChart Grouped By Years

Similar to Months, the data contain entries within a single year. The representation will be the same as depicted below.

Pivot Chart By Year-How to Group Dates in Excel


Method 2 – Group Dates Using Format Axis Options in Excel Chart

For Charts expanding to months or years, have the Date Axis option in their Axis Types. Users either have Charts or have the data for Charts and can group dates by months or years.

Dataset-Months-How to Group Dates in Excel


We inserted a 2D Column Chart, and we want to group dates in that Excel Chart. Follow the below instructions to do so.

Steps: Double-click on the dates, Format Axis side window appears. From the options, select Date Axis under Axis Types. Type 6 in the Major Unit dialog box (as we have data that are 6 months apart). Choose any of the options (i.e., Days, Months, or Years). The Months option is chosen. The same option is chosen for the other 2 options such as Minor and Base.

Format Axis window-How to Group Dates in Excel

The monthly depiction of the data Chart resembles the image below.

Inserted Chart

If Years is chosen in the dialog boxes, the depiction changes to the following screenshot.

Format Axis-How to Group Dates in Excel

The final outcome of the chart depends on the options you choose in the Format Axis window. Depending on your data type, select your options and group dates in the Excel Chart.


Method 3 – Using Grouped Data to Group Dates in Excel Chart

Some data types don’t allow grouping using Format Axis options. In those cases, users need to organize their data as grouped data and then be able to group dates in an Excel Chart. The sorted data of the used dataset may look like the image below.

Grouped Data-How to Group Dates in Excel

Steps: Select the desired range, move to Insert > Select 2-D Column Chart (from the Charts section).

Grouped Data-How to Group Dates in Excel

Excel inserts the 2D-Column Chart as shown in the image below.

Inserted 2D-Column Chart

Furnish the Chart according to your priorities; you see Excel groups the data date-wise.

Grouped Dates

Any kind of grouped date data can result in grouped dates in an Excel Chart.


Download Excel Workbook


Related Articles

Get FREE Advanced Excel Exercises with Solutions!
Maruf Islam
Maruf Islam

MARUF ISLAM is an excellent marine engineer who loves working with Excel and diving into VBA programming. For him, programming is like a superhero tool that saves time when dealing with data, files, and the internet. His skills go beyond the basics, including ABACUS, AutoCAD, Rhinoceros, Maxsurf, and Hydromax. He got his B.Sc in Naval Architecture & Marine Engineering from BUET, and now he's switched gears, working as a content developer. In this role, he creates techy content... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo