Pivot Table Issues

Keep an Excel PivotTable Running Total from Resetting Each Year

Olivia MillerOlivia Miller Dec 2, 2026 868 views

Question details

Keep a PivotTable running total continuous across calendar years.

Keep an Excel PivotTable Running Total from Resetting Each Year
Product
Microsoft Excel PivotTable
Device & OS
not provided
Scenario
A PivotTable shows monthly values over multiple years and needs a cumulative total based on a continuous date sequence.
Observed behavior
The running total resets each year when the dates are grouped by year.
Before you start

Check that the source data has a date for each month and that the value to accumulate is numeric. If the month labels are text, create a column containing real month-end dates before refreshing the PivotTable.

Solution 1Recommended

Use an ungrouped month-end date field for the running total

Use this method to accumulate monthly values across years in a standard Excel PivotTable.

1
Create month-end dates

In the source data, add a Month End column and enter =EOMONTH(A2,0), replacing A2 with the cell containing the source date. Fill the formula down the column.

2
Refresh the PivotTable

Click the PivotTable and select PivotTable Analyze > Refresh. If the new column is outside the source range, use PivotTable Analyze > Change Data Source to include it, then refresh.

3
Use a continuous date field

In the PivotTable Fields pane, place Month End in Rows and the numeric field in Values. If Excel groups the dates by year, right-click a date in the PivotTable and select Ungroup; remove any separate year field from Rows.

4
Set the running total

Right-click a value in the PivotTable, select Show Values As > Running Total In, and choose Month End as the base field.

5
Check the date order

Right-click a date and select Sort > Sort Oldest to Newest. Format the dates to show both month and year so that months from different years are easy to distinguish.

Use an ungrouped month-end date field for the running total
Use real dates, not month names: A text label such as January does not identify a unique month across years. Month-end dates provide a chronological sequence for the calculation.
Work with PivotTables in WPS

Build a continuous monthly running total in WPS Spreadsheets

Use real month-end dates as the PivotTable row field and apply a running-total calculation to follow values across years in WPS Spreadsheets.

  1. 1. Open the workbook: Open your workbook in WPS Spreadsheets and locate the source data for the PivotTable.
  2. 2. Add month-end dates: In a new source-data column, enter =EOMONTH(A2,0), replacing A2 with the source date cell, and fill the formula down.
  3. 3. Update the PivotTable: Select the PivotTable, update its source range if necessary, and use Refresh. Place the month-end field in Rows and the numeric field in Values; ungroup dates if they are grouped by year.
  4. 4. Apply the running total: Right-click a PivotTable value, choose Show Values As > Running Total In, and select the month-end field. Sort the dates from oldest to newest.
Track cumulative monthly values across calendar years.Open and edit Microsoft Excel XLSX workbooks.Use familiar spreadsheet formulas and PivotTable tools.Work with spreadsheets in a free Office suite.
QA img-9

Frequently Asked Questions

Why does my PivotTable running total start over in January?

A separate year grouping can divide the dates into yearly groups. Right-click a grouped date, select Ungroup, and use one continuous month-end date field as the base field for Show Values As > Running Total In.

Can I use month names as the running-total base field?

Month names alone do not distinguish the same month in different years. Create real month-end dates with a formula such as =EOMONTH(A2,0), refresh the PivotTable, and use that date field instead.

How do I include a new date column in an existing PivotTable?

Click the PivotTable and select PivotTable Analyze > Change Data Source if the new column is outside the existing range. Include the column and then select Refresh.

How can I keep a Data Model running total continuous across years?

Create a DAX measure that sums the value over dates up to the current date, using a related date table. An ALL date-table filter includes earlier years but also removes date-table slicer filters, so adjust the measure if those filters must be retained.