Excel already has functions like the SUMIF and the SUMIFS for summing data by groups. However, they won't work when have date-time values combined. In this article we will cover grouping dates in Pivot Table.


  1. Select a cell in your data
  2. Click Pivot Table icon under INSERT tab in the ribbon
  3. Confirm the data range and the location of the Pivot Table
  4. Click OK to create
  5. Drag & drop the date values into ROWS section and values into VALUES section
  6. Right-click on the date value in Pivot Table and click on Group item
  7. Select only Days
  8. Click OK to group


The Pivot Table is a versatile tool that specialized on data management and consolidation. As well as you can get consolidated data just by dragging & dropping column names into related sections, it offers advanced and detailed grouping options. Grouping dates in Pivot Tables can be done by years, quarters, months, days, hours, minutes and even seconds.

Another advantage of Pivot Table is its consolidation options. Using formulas to make similar grouping will restrict you on sum or count operations. However, Pivot Table allows to summarize values by Multiplying to Standard Deviation.

Also refer to article How to group days without time by formula