How to calculate running total /average in Excel?

origin data which we will calculate running total for

For example, you have a sales table in Excel as below screen shot shown, and you want to get the sale sums/totals of every day, how could you get it done in Excel? And what if calculating the running average on every day? This article will guide you to apply formulas to calculate the running total and running average in Excel with ease.

Calculate running SUM with formula in Excel

We can apply a formula to calculate the running sums or running totals easily in Excel as follows:

Step 1: Besides the Amount column, type Running SUM in Cell D1.

Step 2: Enter the formula =SUM($C$2:C2) into the Cell D2, and then drag its Fill Handle to the range you need.

Apply the running total formula
apply the running total formula in a column

Now you will get all running sums/totals in the specific Running SUM column. See screenshot above:

Calculate running SUM with Pivot Table in Excel

Apart from the above formula, we can also calculate running sums or running totals with Pivot Table in Excel. And you can get it done as follows:

Step 1: Select original table, and then click the Insert > PivotTable.

PivotTable button

Step 2: In the opening Create PivotTable dialog box, check the Existing Worksheet option, then select a cell in current worksheet to locate the Pivot table in the Location box, and click the OK button.

Dialog box - Create PivotTable

Note: If you want to place the pivot table into a new worksheet, please check the New Worksheet option.

Step 3: In the coming PivotTable Fields pane, drag the Date field from Choose fields to add to report box to the Rows box, and drag Amount field to the Values box (or you can just check these two boxes to show them in the ROWS and VALUES boxes). See below screen shot:

Operations in the PivotTable Fields
Show values as Running Total IN in PivotTable

Step 4: Right click the Sum of Amount in the Pivot Table, and then select Show Value As > Running Total IN in the right-clicking menu. See screen shot above:

Step 5: In the popping out Show Values As dialog box, click the Base Filed box and specify a filed from the drop down list, and then click the OK button.

Specify the base field for running total

Note: In Excel 2007, right click the Sum of Amount in the Pivot Table and then select Value Field Settings from the right-clicking menu; next in the Value Field Setting dialog box click the Show Value as tab, then click the Show Value as box and select the Running Total in from the drop down list, and at last click the OK button. See below screen shot:

Show values as running total in in PivotTable of Excel 2007

Then you will get all running sums or running totals in the pivot table at once.

Calculate the running average in Excel

You can easily calculate the running averages in Excel as following steps:

Step 1: Besides the Amount column, enter Running Average in the Cell D1.

Step 2: In the Cell D2, enter the formula =AVERAGE($C$2:C2) into it, and then drag its Fill Handle to the range you need.

Apply the running average formula

Step 3: Keep selecting the running average cells, and then click Increase Decimal button or Decrease Decimal button  on the Home tab to change running averages' decimal places.

change decimal places with Decrease Decimal button

Now you will get all running averages in the Running Average column with specific decimal places.

Average/sum up multiple columns on each page in a worksheet  in Excel

Kutools for Excel's Paging Subtotals utility can help you to insert all kinds of subtotals (such as Sum, Max, Min, Product, etc.) in every printed page easily. See screen shots below. Full Feature Free Trial 30-day!
ad page subtotal sum 1

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now

Related articles:

The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Ed · 1 years ago
    The running average is straight forward, but what if you wanted to continue the running average to another worksheet from where it left off on the previous worksheet.
    • To post as a guest, your comment is unpublished.
      kellytte · 1 years ago
      Hi Ed,
      Is it able to merge the worksheets or combine tables from these worksheets before calculating the running average?
      Kutools for Excel provides Combine (worksheets and workbooks) feature can help you quickly combine multiple worksheets from multiple workbooks into one worksheet easily.
      Kutools for Excel’s Table Merge feature can help you easily combine two tables from different worksheets based one or multiple key columns.