» PivotTable report - Grouping the Date Field by Days, Months, Quarters, and Years
CATEGORY - Excel Pivot Tables
VERSION - All Microsoft Excel Versions
1. Drag the Date field from Page (the fields in the top left corner) to Row (to the left of the data area).
2. Select one of the dates in the Date field (cell A9 in the screenshot).
3. Right-click, select Group and Show Detail from the shortcut menu, and then select Group.
4. In the Grouping dialog box, select Days, Months, Quarters, and Years, then click OK. Three fields have been added to the PivotTable report: Years, Quarters, and Months.
5. Click and drag each of the three new fields from Row to Page
CAUTION!!!
If the message Cannot group that selection appears, drag the Date field back to Page, and check the date column in the source data for empty cells or for dates that are not in date format, fix them all and then select the PivotTable report, drag the Date field to Row, click Refresh and try grouping again.
Grouping the Date Field by Number of Days and by Days, Months, Quarters, and Years
You can group a Date field only once, either by Number of Days or by Days, Months, Quarters, and Years.
If you want to group the Date field by both Number of Days or by Days, Months, Quarters, and Years:
1. Copy and insert the Date column in the source data so that there are two Date columns.
2. Change the heading title of the new Date column.
3. Add the new field to the PivotTable report, and then group each one of the Date fields, one by Number of Days and the other by Days, Months, Quarters, and Years.

Book Store:
Recommended Books:
- PowerPoint® 2002 For Dummies®
- Rich Dad's Guide to Investing: What the Rich Invest in, That the Poor and the Middle Class Do Not!
- Essentials of Accounting and Post Test Booklet 8, Eighth Edition
- Accounting Principles, with CD, 6th Edition
- MP Managerial Accounting w/ Topic Tackler, Net Tutor, & PowerWeb
- The Sweet Potato Queens' Big-Ass Cookbook and Financial Planner
No comments have been submitted.

