Google Sheets Pivot Table: Group by Week

Charts & pivot tables · Updated November 23, 2026

To group by week in a Google Sheets pivot table, right-click any date cell inside the pivot table’s row or column area, choose Create pivot date group, then select Week. This instantly collapses daily dates into weekly buckets, using the Monday of each week as the label.

Why Group by Week in a Pivot Table

Raw transaction data often has a date for every row. A pivot table that lists every date becomes long and hard to scan. Grouping by week reduces dozens of rows into a handful, making trends like “sales spike in the third week of March” obvious at a glance. Weekly grouping is common for reporting cycles, payroll periods, content calendars, and inventory reviews.

Google Sheets groups dates automatically when you add a date field to the Rows or Columns area of a pivot table. By default it groups by day. The Create pivot date group menu lets you switch to year, quarter, month, week, or day. You can even create multiple groups (for example, year and week) to see weekly totals within each year.

How to Group by Week: Step-by-Step

  1. Select your data range (for example, A1:C50) and go to Insert > Pivot table.
  2. In the pivot table editor that opens on the right, click Add next to Rows and choose your date column (e.g., “Order Date”).
  3. Click Add next to Values and choose a numeric column (e.g., “Sales”) with summarise by SUM.
  4. In the pivot table itself, click any date cell (like a specific day). A small menu icon appears; click it, then choose Create pivot date group > Week.
  5. Each row now shows a Monday date representing that week (e.g., 3/4/2024 for the week of March 4–10, 2024).

If you prefer, you can also right-click a date cell and select Create pivot date group from the context menu. The option is identical.

What “Week” Means in Google Sheets

Google Sheets defines a week as starting on Monday and ending on Sunday. The label shown is the Monday date. So if your data contains dates from Sunday, March 10, 2024, that date falls into the week labeled 3/4/2024 (Monday, March 4). This is a fixed convention; there is no built-in option to start weeks on Sunday or any other day in the pivot date group menu.

If your business week starts on Sunday or Wednesday, you cannot change this setting inside the pivot table. Instead, you must add a helper column to your source data that calculates the week start date manually. For example, with a date in A2, the formula =A2-WEEKDAY(A2,2)+1 returns the Monday of that week. Add this column to your data range, then use that helper column in the pivot table instead of the raw date.

Using a Helper Column for Custom Weeks

When you need weeks that start on a day other than Monday, create a new column in your source data (e.g., column D) and fill it with a formula. For a Sunday start, use =A2-WEEKDAY(A2,1)+1. For a Wednesday start, you can use =A2-WEEKDAY(A2,13)+1 (the return_type 13 makes Wednesday the first day of the week). Copy the formula down the column, then include this column in your pivot table range. Group by this helper column as a normal date field.

This helper column approach also lets you group by ISO week numbers (if you need the week number), but the pivot table itself will still show the start date. To display the week number, you could use =ISOWEEKNUM(A2) in a helper column and group by that text/number instead.

Common Problems and Fixes

  • “Create pivot date group” is greyed out: This happens when the cell you right-clicked is not a date. Ensure your source column is formatted as a date (Format > Number > Date) and that the pivot table row field is that date column, not a text version.
  • Grouping shows “Week of” but not the year: If your data spans multiple years, the pivot table groups by week number across all years, mixing 2023 and 2024. Add a second grouping: right-click the date, choose Create pivot date group and select Year as well. You’ll get a two-level hierarchy: Year > Week.
  • Blank rows appear: If your source data has blank date cells, the pivot table will show a blank group. Filter out blanks in the source range or use a filter in the pivot table editor (under Filters).
  • Weekly totals are wrong: Check that your date column is truly a date, not text. Text dates won’t group correctly. Select the column and use Data > Split text to columns or the DATEVALUE function to convert.

Grouping by Week vs. by Month

Weekly grouping gives you 52 buckets per year, which is great for spotting short-term trends. Monthly grouping gives 12 buckets, better for high-level summaries. You can combine both: add the date field twice to Rows, group one by month and the other by week. This creates a collapsible hierarchy where you can expand a month to see its weeks.

To do this, add the same date field to Rows twice. Then right-click the first date column and group by Month, and right-click the second date column and group by Week. The pivot table will show months with expandable week rows underneath.

Alternatives to Pivot Table Grouping

If you prefer not to use a pivot table, you can use the WEEKNUM function in a helper column: =WEEKNUM(A2,2) returns the week number (with Monday as start). Then you can use a QUERY function to sum values by week number, like =QUERY(A1:D50, "select D, sum(C) where A is not null group by D label sum(C) 'Total'"). This gives a simple summary but lacks the interactive grouping of a pivot table.

Another option is to use a chart with a date axis, which automatically groups dates by week when you set the axis type to “Date” and the major unit to 7 days. This is visual only, not a tabular summary.

Frequently Asked Questions

Can I group by week in Google Sheets without a pivot table?

Yes. You can use the WEEKNUM function in a helper column to assign a week number to each date, then use a QUERY or a simple SUMIF to aggregate by that week number. However, the pivot table method is faster and more flexible for interactive analysis.

Why does my pivot table show “Week of” but not the actual date?

That is normal. Google Sheets labels each week with the Monday date. For example, “Week of 3/4/2024” means the week starting Monday, March 4, 2024. If you want a different label, you can add a custom column with your own text.

How do I group by week starting on Sunday?

Google Sheets pivot tables only support Monday-start weeks. To group by Sunday-start weeks, add a helper column with the formula =A2-WEEKDAY(A2,1)+1 (which returns the Sunday of that week) and use that column in the pivot table.

Can I group by week and month at the same time?

Yes. Add the same date field to Rows twice. Group one by month and the other by week. You’ll get a hierarchy where each month can be expanded to show its weeks.

Why is my date column not grouping by week?

Most likely your date column is stored as text. Select the column, go to Format > Number > Date, and ensure every cell is a valid date. If some are text, use Data > Split text to columns or the DATEVALUE function to convert them.

Does grouping by week affect my original data?

No. Grouping only changes how the pivot table displays the data. Your source data remains untouched. If you use a helper column, that adds a new column to your data, but it does not modify existing values.

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.