Running total in a pivot table is a cumulative total which includes the past total as well. For example, if we have month-wise data from Jan to Dec, a running total will show you YTD total every month.
We can use a running total to measure complete growth against the target. (Pivot Tables are one of the INTERMEDIATE EXCEL SKILLS).
Running Total in Pivot Table
Adding a running/cumulative total requires simply a few clicks and here are the steps to do it.
- Once you create a pivot table, select any of the cells from data column.
- Right click on it and click “Value Field Setting”.
- Now, you have “Value Field Setting” window.
- Go to “Show Values As” tab.
- From “Show Values As” drop-down list, select “Running Total In”.
- Click Okay.
Now we have a running total in the pivot table with a cumulative total in every month.
Note: While adding running total make sure that the pivot table sorted in the right way. If we want to add it from Jan to Dec then the values must have sorted from Jan to Dec.
Start Running Total from Zero
Someone asked that how can we start the total from zero. Well, for this we just need to make a small amendment to our source data.
- First of all, in the source data we need to enter a dummy entry with zero value.
- Here our data is starting from Jan’15, and that is why I have used Dec’15 for the dummy entry.
- Now, go to the pivot table and refresh it. And once we do that it give a running total starting from zero.
Percentage Running Total
We can also use the percentage of running total instead of values.
- First of all, right click on total column and open “Value Field Setting”.
- After that, go to “Show Values As” tab and select select “% Running Total In” from the drop down.
- Click OK.
Running Total with Grouped Dates
When we add a running total where we have grouped dates there could be a problem, let me show you. In the below pivot table, we have grouped dates and create two-row labels from them “Quarters” and “Months”.
And, we have also applied running total in the data field. Now if you look, after a change in the quarter, the running total is starting over again. But we can fix it using a helper column and here are the steps.
- First of all, go to your source data and enter a new column after the date column.
- After that, name that column “Q-M” and enter the below formula:
- Now, refresh your pivot table and remove both the “Quarters” and “Months” column fields and add column “Q-M”.
Running Total in a Pivot Chart
With a running total, we can also create a pivot chart to show that cumulative values in a graphical way.
In the above example, we have a pivot chart along with the pivot table to show the trend of values increasing month by month.