Professional Documents
Culture Documents
Do you know you can group dates in pivot tables to show the report by week, month or quarter? I have learned this trick while doing analysis on a pivot table today. In this online lesson on pivot tables, I will teach you how to group dates in pivot tables to analyze the data by month, week, quarter or hour of day. Let us say you have a sales transaction database like this:
2. Select both month and quarter in the group by option, Click ok.
Group by Week:
To group the pivot table dates by week,
2. Select day in the group by option. When you do this, the number of days box will be enabled. Enter the number of days as 7 to group your pivot report by week.
Assuming your data has dates along with the actual transaction time, you might want to analyze the sales by hour of day, to find out say if one product is selling more than other during certain hours. To group the pivot table dates by hour of the day: 1. Select group option 2. Select hour in the group by option.