- To post as a guest, your comment is unpublished.· 2 years agoHi 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.
How to calculate running total /average in Excel?
For example, you have a sales table in Excel, 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/total or running average with formula in Excel
- Calculate running sum/total with Pivot Table 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.
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.
Now you will get all running sums/totals or running averages in the specific column.
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.
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.
Note: If you want to place the pivot table into a new worksheet, please check 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 below screen shot:
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:
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.
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:
Then you will get all running sums or running totals in the pivot table at once.
You are guest
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 2 years agoThe 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.