Module 15 · PivotTables · Sales by month

Owen Byrne manages Tidewater Farmers Market

Owen's PivotTable has one row for each market day. For the town council, he needs the sales of each month. Excel can group dates into months, quarters and years.

Loading the spreadsheet…

Module 15 · PivotTables

Sales by month

Owen Byrne, manages Tidewater Farmers Market
Owen Byrne manages Tidewater Farmers Market

Owen's PivotTable has one row for each market day. For the town council, he needs the sales of each month. Excel can group dates into months, quarters and years.

Steps

  1. Group dates by month

    Group puts the dates of a date field together, for example by month. The list does not change.

    How to do it

    1. Right-click a date in the PivotTable.
    2. Click Group.
    3. Click OK.
    4. In the Grouping dialog, click a unit to select it or to clear it. You can select more than one.

    Group by: Months

    Task: The town council plans by quarter. Group the dates by Quarters only.

  2. Group by more than one unit

    You can select more than one unit in the Grouping dialog. Excel makes one level for each unit: years, then quarters, then months.

    How to do it

    1. Right-click a group in the PivotTable.
    2. Click Group.
    3. Click each unit that you need.
    4. Click Years.
    5. Click OK.
    6. When you select a date field in the field list, Excel groups it by itself into years, quarters and months.
    7. The small minus button next to a group closes it. The plus button opens it again.

    Group by: Months, Quarters, Years

    Task: The town council does not need quarters. Show only years and months.