Pinterest Pixel

Group By Half Years With Excel Pivot Tables

  In our previous post, we were able to Group by Month using Pivot Tables.  Let us take it... read more

Download Excel Workbook
Bryan
Posted on

Overview

 

In our previous post, we were able to Group by Month using Pivot Tables.  Let us take it up another notch, and group it by Half Years!

In the example below I show you how to get the Sales Grouped by Half Years: January to June and July to December

 

Group By Half Years With Excel Pivot Tables | MyExcelOnline

download excel workbook Group-by-Half-Years.xlsx

 

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 Half Years With Excel Pivot Tables

 

STEP 2: In the ROWS section put in the Sales Month field.

Group By Half Years With Excel Pivot Tables

 

STEP 3: Highlight the first 6 months (January – June). Right click on a row in your Pivot Table and select Group

Group By Half Years With Excel Pivot Tables

 

STEP 4: Highlight the next 6 months (July – December). Right click on a row in your Pivot Table and select Group

Group By Half Years With Excel Pivot Tables

 

STEP 5: Rename the groups to make it more readable.

Rename “Group1”to “1st Half”, then rename “Group2” to “2nd Half”.

Group By Half Years With Excel Pivot Tables

Notice that a new field Sales Month2 was introduced. This contains our new half-year groupings.

Group By Half Years With Excel Pivot Tables

 

STEP 6: We do not need the Sales Month anymore. Delete Sales Month by dragging it back to the Field List. 

Group By Half Years With Excel Pivot Tables

 

STEP 7: In the VALUES area put in the Sales field. This will get the total of the Sales for each half-year range you have defined.

In the ROWS area put in the Financial Year field on top of the Sales Month2 field:

Group By Half Years With Excel Pivot Tables

 

STEP 8: Click the Sum of SALES and select Value Field Settings

Group By Half Years With Excel Pivot Tables

 

STEP 9: Select Number Format

Group By Half Years With Excel Pivot Tables

 

STEP 10: Select Currency. Click OK.

Group By Half Years With Excel Pivot Tables

You now have your total sales for each half-year period!

Group By Half Years With Excel Pivot Tables

 

PIVOT BANNER

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

Group By Half Years With Excel Pivot Tables | MyExcelOnline
Bryan

Bryan is a best-selling book author of the 101 Excel Series paperback books.

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!