Maintenance Notification: We are upgrading our servers today so you may experience intermediate outages. Thank you for your patience.
Create and modify PivotTables
MO-211

Group PivotTable data

  1. 1With Date in Rows, right-click any date in the PivotTable › Group.
  2. 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.

Sheet Orders
ABCDE
1DateRegionProductUnitsSales
25-Jan-2026NorthBikes2900
312-Jan-2026SouthHelmets10450
419-Jan-2026WestLocks8160
526-Jan-2026NorthHelmets6270
62-Feb-2026SouthBikes31350
79-Feb-2026WestBikes1450
816-Feb-2026NorthLocks12240
923-Feb-2026SouthLocks5100
102-Mar-2026WestHelmets4180
119-Mar-2026NorthBikes1450
1216-Mar-2026SouthHelmets8360
1323-Mar-2026WestLocks10200
Dates by month
Do this
  1. 1Date in Rows, Sales in Values.
  2. 2Right-click 5-Jan-2026 › Group. By: Months only. OK.
Excel showsJan 1780 · Feb 2140 · Mar 1190 · Grand Total 5110

The twelve dates roll up into their three months.

Months and quarters
Do this
  1. 1Right-click a month › Group. By: select Months and Quarters. OK.
Excel showsQtr1, with Jan, Feb and Mar under it

Selecting two units nests them: quarters outside, months inside.

Numbers into bins
Do this
  1. 1Units in Rows, Sales in Values.
  2. 2Right-click a Units value › Group. Starting at 0, Ending at 14, By 5. OK.
Excel shows0-4 3330 · 5-9 890 · 10-14 890

Each bin takes the orders with that many units; Excel names the bins from their ends.

A group of your own
Do this
  1. 1Product in Rows. Select Helmets and Locks, right-click › Group.
  2. 2Select the new Group1 label, type Accessories, Enter.
Excel showsBikes 3150 · Accessories 1960, with Helmets 1260 and Locks 700 under it

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.

In the video
Do this
  1. 1Right-click a date › Group › Months only › OK.
Excel showsJan 1780 · Feb 2140 · Mar 1190

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

Leaving Days selected

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.

Grouping a date column with a blank or text cell

One blank or text entry in the dates makes Group report “Cannot group that selection”. Fix the source, refresh, then group.

Bins that start in the wrong place

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.com

Try 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.