Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Grouping Data | Analyzing Data Like a Pro
Excel Adventure

bookGrouping Data

Swipe to show menu

Date Grouping

Date grouping is the most common use of this feature. Excel can group dates at multiple levels simultaneously — selecting both Months and Quarters adds both as row levels, so you can see quarterly subtotals with monthly breakdowns nested inside. The grouping dialog appears when you right-click any date cell in the pivot table and choose Group.

How to group dates:

  1. Place Order Date in the Rows area. The pivot table will initially show individual dates.
  2. Right-click any date cell in the pivot table → choose Group. The grouping dialog opens.
  3. In the dialog, select one or more intervals from the list. Click multiple to combine levels — e.g. select both Months and Quarters to get quarterly subtotals with monthly breakdown.
  4. Click OK. The pivot table reorganises immediately.
  5. To remove grouping: right-click any grouped cell → Ungroup.

Numeric Grouping

The same grouping mechanism works on any numeric field. Instead of grouping by time intervals, you define a starting value, ending value, and bucket size. Excel places each transaction into the appropriate range automatically — producing a frequency distribution without a single formula.

This is particularly useful for understanding how revenue is distributed. Are most transactions small orders, or is the revenue driven by a few large ones? A numeric grouping of the Revenue field answers this question in seconds.

  1. Group dates by month

    In your PivotTable, remove existing fields from Rows if needed. Drag Order Date into Rows and keep Revenue in Values.

    Right-click any date, select Group, choose Months, and click OK.

  2. Compare grouped vs ungrouped view

    Right-click one of the grouped months and select Ungroup.

    The PivotTable will return to individual transaction dates, making it harder to read. Group the dates again by Months.

  3. Add a second time level

    Right-click a date, select Group, and choose Months and Years.

    The PivotTable now shows a hierarchical structure (Year → Month).

  4. Numeric grouping (revenue ranges)

    Remove Order Date from Rows. Drag Category into Rows and Revenue below it in Rows.

    Right-click any Revenue value, select Group, and set:

    • Start at 0
    • End at 2000
    • By 500

    The PivotTable will group values into ranges such as 0–500, 500–1000, 1000–1500, and 1500–2000.

  5. Analyze distribution

    Observe the grouped results and identify which categories appear more often in lower ranges (0–500) and which appear more in higher ranges (above 1000).

  6. Adjust or remove grouping

    Right-click any grouped range and select Ungroup to return to detailed values.

question mark

After grouping Revenue into ranges, which categories appear in only one grouping (0-499 range)? (Select two)

Select all correct answers

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 5. Chapter 3

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Section 5. Chapter 3
some-alt