Keep an Excel PivotTable Running Total from Resetting Each Year
Question details
Keep a PivotTable running total continuous across calendar years.

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

Create a DAX running-total measure for a Data Model PivotTable
Use a measure when the PivotTable is based on the Excel Data Model and needs a running total over a date table.
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. Open the workbook: Open your workbook in WPS Spreadsheets and locate the source data for the PivotTable.
- 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. 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. 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.

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.




