In my previous Group By Month post, we grouped our Sales by each month.

However the cool thing with Excel is that we can take that a step further and customize our grouped date range!

In the example below I show you how to get the Sales Grouped by Custom Dates:

 

YouTube video
Group By Custom Dates With Excel Pivot Tables | MyExcelOnline

DOWNLOAD EXCEL WORKBOOK

 

STEP 1: Insert a new Pivot table by clicking on your data and going to Insert > Pivot Table > New Worksheet or Existing Worksheet

group-by-custom-date-01

 

STEP 2: In the ROWS section put in the Order Date field.

Notice that in Excel 2016 (the version that I am using) it will automatically Group the Order Date into Years & Quarters:

group-by-custom-date-02

 

STEP 3: Right click on any row in your Pivot Table and select Group so we can select our Group order that we want:

group-by-custom-date-03

 

STEP 4: We need to deselect Quarters, Years and make sure only Months are selected (which will be highlighted in blue). This will group our dates by the Months only.

We can now define a custom date range!

For example, we can only show the Sales numbers from January 2014 to September 2014.  To do this we need to set the following:

Starting at: 2014-01-01

Ending at: 2014-09-30

Click OK.

group-by-custom-date-04

 

STEP 5: In the VALUES area put in the Sales field.  This will show the total of the Sales for each Month:

group-by-custom-date-05

 

We can see that everything that does not fall in between January and September is Grouped into its own bucket.

group-by-custom-date-06

 

STEP 6: Now we have our sales numbers grouped by Month & Years, notice that we can improve the formatting.

Click the Sum of SALES and select Value Field Settings

group-by-custom-date-07

 

STEP 7: Select Number Format

group-by-custom-date-08

 

STEP 8: Select Currency. Click OK.

group-by-custom-date-09

You now have your total sales for each monthly period based on your custom dates! Very Easy!

group-by-custom-date-10

 

Group By Custom Dates With Excel Pivot Tables | MyExcelOnline

HELPFUL RESOURCES:

JOIN OUR FREE EXCEL COURSES BELOW
Click here to access these FREE Excel courses!

 

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Pinterest

Share on Facebook

Facebook

Tweet about this on Twitter

Twitter

Share on LinkedIn

Linkedin