Google Sheets Pivot Table: Group by Month

Charts & pivot tables · Updated November 23, 2026

To group by month in a Google Sheets pivot table, right-click any date cell inside the pivot table, choose Create pivot date group, then select Month. This instantly collapses daily dates into monthly totals without altering your source data.

Why Grouping by Month Matters

Pivot tables are powerful for summarizing large datasets, but raw dates produce one row per day, making it hard to spot monthly trends. Grouping by month reduces clutter and lets you compare performance across periods—sales, expenses, signups, or any time-based metric. Google Sheets offers automatic date grouping for Year, Quarter, Month, Day, and more, so you don’t need helper columns or complex formulas.

How to Group by Month: Step-by-Step

  1. Select your data range (including headers) and go to Insert > Pivot table.
  2. Choose to place the pivot table in a new or existing sheet.
  3. In the pivot table editor, add your date field to Rows and your value field (e.g., Sales) to Values.
  4. Click any date cell in the pivot table, then right-click and select Create pivot date group.
  5. Pick Month from the list. The pivot table now shows one row per month.

If you prefer the menu path: click the date field in the Rows section of the pivot editor, then in the “Group by” dropdown choose Month. This works in the browser version of Google Sheets; the mobile apps have limited editing, so use a desktop browser for full control.

Grouping Options Beyond Month

Google Sheets lets you group by Year, Quarter, Month, Day, or a combination. For example, grouping by Year and Month gives rows like “2024 – Jan”, “2024 – Feb”. To do this, right-click a date cell, choose Create pivot date group, then select both Year and Month (hold Ctrl/Cmd to select multiple). This creates a hierarchy that expands/collapses. You can also group by Week, but that requires a bit more setup—Google Sheets groups by 7-day intervals starting from the first date in your data, not necessarily Monday or Sunday.

Choosing Between Grouping and a Helper Column

Automatic grouping is fastest, but sometimes you need a custom month label (e.g., “Jan 2024” vs. “2024-01”). In that case, add a helper column to your source data with a formula like =TEXT(A2,"mmm yyyy") (assuming dates are in A2:A). Then use that column as the row field. This gives you full control over formatting and works in Excel too. However, helper columns require you to refresh the pivot if you add new data, whereas automatic grouping adapts automatically.

Common Problems and Fixes

  • “Create pivot date group” is grayed out: This happens when the field isn’t recognized as a date. Ensure your source column contains real dates (not text). Select the column, go to Data > Data cleanup > Convert text to columns or use =DATEVALUE(A2) in a new column.
  • Grouping shows “Day” only: If you right-click and don’t see Month, your date field might be formatted as text. Fix the source data first.
  • Months appear out of order: By default, Google Sheets sorts alphabetically (April, August, December). To sort chronologically, click the drop-down arrow in the row label and choose Sort by > Month (or use the “Sort” option in the pivot editor).
  • Blank dates: If your source has empty date cells, they appear as “(blank)” in the pivot. Filter them out by clicking the filter icon in the row label and unchecking “(blank)”.

Comparing with Excel Pivot Tables

Excel’s pivot tables have a similar feature: right-click a date field and choose Group, then select Months. The key difference is that Excel’s grouping dialog lets you set a start and end date and choose multiple levels at once (e.g., Years and Months). In Google Sheets, you select group levels from a list, but you can’t specify a custom start date—it always uses the earliest date in your data. Also, Excel automatically creates a “Years” field when you group by months, which is handy for multi-year data. In Google Sheets, you must manually add Year to the grouping.

Frequently Asked Questions

Can I group by month without a pivot table? Yes, you can use a formula like =TEXT(A2,"mmm") to extract the month name, then use a COUNTIF or SUMIF to aggregate. But a pivot table is simpler for large datasets.

Why does my pivot table show “Dec” instead of “December”? Google Sheets uses the date format of your spreadsheet locale. To change it, go to File > Settings and adjust the locale, or use a helper column with a custom format like =TEXT(A2,"mmmm").

How do I group by month and year together? Right-click a date cell, choose Create pivot date group, and select both Year and Month. The pivot will show a hierarchy with years expandable to months.

Does grouping change my original data? No, grouping is a pivot table view only. Your source data remains untouched. If you delete the pivot table, the grouping disappears.

Can I group by ISO week number? Not directly. You can add a helper column with =ISOWEEKNUM(A2) (available in Google Sheets) and group by that number, but it won’t be a true date group.

Why do some months appear twice? This usually happens when your source data contains dates with different years. If you group only by Month, January 2023 and January 2024 will both show as “Jan”. To separate them, group by Year and Month together.

Tips for Cleaner Monthly Reports

  • Always include a total row: in the pivot editor, click the value field and select Show as > Grand total.
  • Use conditional formatting on the month column to highlight the current month or top performers.
  • If you need a chart, create a pivot chart (Insert > Chart) and set the date group as the horizontal axis—it will automatically use the grouped months.
  • For recurring reports, consider using a named range for your data so new rows are included automatically (Data > Named ranges).

Related

Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.

More in Charts & pivot tables

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.