Skip to main content
 

How to calculate running total /average in Excel?

Author: Kelly Last Modified: 2024-11-08

For example, if you have a sales table in Excel and want to calculate the daily sales totals, how can you accomplish this 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 or running average with formula in Excel

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

1. Besides the Amount column, type Running SUM or Running Average in Cell D1.

2. Enter the formula =SUM($D$3:D3) into the Cell E3, and press the Enter key.
A screenshot of Excel with the formula =SUM($D$3:D3) for calculating running totals

Tips: If you need to calculate the running average, use this formula: =AVERAGE($D$3:D3)

3. Keep the formula cell selected, and drag its AutoFill Handle to apply the formula to other cells.
A screenshot showing running total calculated in Excel with AutoFill handle applied

Now you will get all running sums/totals or running averages in the specific column.

One click to add a running sum line & labels for a cluster column chart

The cluster column chart is quite common and useful in statistic works. Now, Kutools for Excel releases a chart tool – Add Cumulative Sum to Chart to quickly add a cumulative total line and all cumulative total labels for a cluster column chart by only one click!

Animated demo of adding cumulative total line to Excel chart using Kutools

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy permanently free AI features! Get It Now

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:

1.Select original table, and then click the Insert > PivotTable.
A screenshot of Insert PivotTable option in Excel

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.
A screenshot of Create PivotTable dialog with Existing Worksheet option in Excel

Note: If you want to place the PivotTable on a new worksheet, select the New Worksheet option.

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 the screenshot on the left below:
A screenshot of PivotTable Fields pane with Date and Amount added to Rows and Values

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 the screenshot on the right above:

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.
A screenshot of Show Values As dialog for Running Total option in Excel PivotTable

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:
A screenshot of Excel Value Field Settings dialog for Running Total option in PivotTable

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

Related articles:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


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!