Group PivotTable data
- 1With Date in Rows, right-click any date in the PivotTable › Group.
- 2By: select Months (and anything else the task asks for). OK.
Grouping rolls row items up into bigger ones: dates into months, quarters or years, numbers into equal bins, or items you pick into a group of your own. The values are added up for each group.
What the MO-211 task asks
Grouping is in most of our MO-211 practice exams, and the task always says how: “Add Date to Rows as well, and group it by Months”, “group it by Months AND Quarters together”, “group it into 7-day blocks starting 1-Jun-2026”, or, for numbers, “group those values into bins of 50 starting at 0”.
The grader reads the group settings from the saved PivotTable: which units are selected, or the start and the bin size. Months plus Days is not Months, so turn off anything the task does not name.
Worked examples
Set up the grid below to follow along. Each example starts from it as shown; every result is what Excel showed.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Date | Region | Product | Units | Sales |
| 2 | 5-Jan-2026 | North | Bikes | 2 | 900 |
| 3 | 12-Jan-2026 | South | Helmets | 10 | 450 |
| 4 | 19-Jan-2026 | West | Locks | 8 | 160 |
| 5 | 26-Jan-2026 | North | Helmets | 6 | 270 |
| 6 | 2-Feb-2026 | South | Bikes | 3 | 1350 |
| 7 | 9-Feb-2026 | West | Bikes | 1 | 450 |
| 8 | 16-Feb-2026 | North | Locks | 12 | 240 |
| 9 | 23-Feb-2026 | South | Locks | 5 | 100 |
| 10 | 2-Mar-2026 | West | Helmets | 4 | 180 |
| 11 | 9-Mar-2026 | North | Bikes | 1 | 450 |
| 12 | 16-Mar-2026 | South | Helmets | 8 | 360 |
| 13 | 23-Mar-2026 | West | Locks | 10 | 200 |
- 1Date in Rows, Sales in Values.
- 2Right-click 5-Jan-2026 › Group. By: Months only. OK.
The twelve dates roll up into their three months.
- 1Right-click a month › Group. By: select Months and Quarters. OK.
Selecting two units nests them: quarters outside, months inside.
- 1Units in Rows, Sales in Values.
- 2Right-click a Units value › Group. Starting at 0, Ending at 14, By 5. OK.
Each bin takes the orders with that many units; Excel names the bins from their ends.
- 1Product in Rows. Select Helmets and Locks, right-click › Group.
- 2Select the new Group1 label, type Accessories, Enter.
Hand-picked text items can be grouped too. Excel adds a new outer field for the groups and names the new one Group1; type over the name to rename it.
- 1Right-click a date › Group › Months only › OK.
The first example, done in Excel on this workbook.
Watch it done in Excel
The last example above, recorded in real Excel on the same grid.
Exam traps
Excel may select more than one unit for you. When the task says Months, make Months the only one selected, or the dates are grouped by month and day.
One blank or text entry in the dates makes Group report “Cannot group that selection”. Fix the source, refresh, then group.
Excel fills Starting at with the smallest value. When the task says “starting at 0”, change it before OK.
FAQ
How do I undo a grouping?
Right-click a grouped item › Ungroup.
Why does Starting at not read 0?
Excel fills in the smallest value. Left as it is, the Units bins here start at 1: 1-5, 6-10, 11-15. Type the start the task gives.
Does grouping change the source data?
No. It only changes how the PivotTable rolls the dates or numbers up.
New to this?
This page covers what the exam asks. For the full how-to, read our guide on dfwexcel.com.
Group a PivotTable by month or quarter — dfwexcel.comTry it under exam conditions
Take a full, timed MO-211 practice exam, upload the workbook you built, and get a score out of 1000 with a per-task breakdown of where the points went. Your first one is free.
No credit card needed.
