To formulate a running total in Excel, use a formula that adds the current cell's value to the sum of all previous cells in that column. The most efficient way to do this is by using the SUM function with a mixed cell reference, such as =SUM($B$2:B2), which locks the starting cell while allowing the end of the range to expand as you drag the formula down. This achieves a cumulative balance that updates automatically as new data is entered, making it essential for financial ledgers, inventory tracking, and project management.

What You'll Need

  • A computer with Microsoft Excel installed (any version from 2010 onwards, including Excel for the Web).
  • A dataset containing a column of numbers (e.g., daily sales, expenses, or quantities).
  • A blank column adjacent to your data to house the running total calculations.

Step-by-Step

  1. Prepare Your Data Layout: Ensure your data is organized in a clean table format. For this example, assume your numeric values are in Column B, starting at cell B2, with a header in B1. Create a header for your running total in cell C1 (e.g., "Cumulative Total").
  2. Enter the First Formula: Click on cell C2. Type the following formula: =SUM($B$2:B2). The dollar signs before the B and the 2 create an "absolute reference," meaning that no matter where you copy this formula, the range will always start at cell B2.
  3. Understand the Mixed Reference: Notice that the first part of the range ($B$2) is locked, but the second part (B2) is a "relative reference." This is the secret to the running total. When you move the formula down to the next row, the first part stays locked at the top, but the second part shifts to B3, B4, and so on.
  4. Apply the Formula to the Column: There are two ways to apply this to the rest of your list. You can click the small green square (the fill handle) in the bottom-right corner of cell C2 and drag it down to the end of your data. Alternatively, you can double-click that fill handle, and Excel will automatically fill the formula down to the last row of your dataset.
  5. Verify the Results: Check the first few rows. If B2 is 10 and B3 is 20, C2 should show 10 and C3 should show 30. If the numbers align, your running total is functioning correctly.
  6. Convert to an Excel Table (Optional but Recommended): To make your running totals dynamic, select your entire data range (including headers) and press Ctrl + T. When you convert your data into an official Table, Excel will automatically extend the running total formula to any new rows you add to the bottom of the list, eliminating the need to manually drag the formula again.

Common Mistakes

One of the most frequent errors is forgetting the dollar signs (the absolute reference) in the formula. If you enter =SUM(B2:B2) and drag it down, the formula in C3 becomes =SUM(B3:B3), which only shows the value of that single cell rather than the cumulative sum. Always ensure the first cell reference is locked as $B$2.

Another common mistake is including the header row within the SUM range. If you reference $B$1:B2 and B1 contains text (like "Sales"), Excel generally ignores the text, but it can lead to errors if you use other mathematical operators or if the header contains a number that looks like a label. Always start your range at the first actual numeric value.

Users also frequently struggle with "Circular References." This happens if you accidentally place the running total formula inside the same range it is trying to calculate. For example, putting a formula in cell B10 that tries to sum the range B2:B10 will cause an error because the cell is trying to calculate its own value as part of the sum.

Tips

For those working with massive datasets (thousands of rows), using =SUM($B$2:B2) can eventually slow down your workbook because Excel has to recalculate an increasingly large range for every single row. A faster alternative is a simple addition formula. In cell C2, enter =B2. In cell C3, enter =C2+B3. Then, drag the C3 formula down. This only requires Excel to add two numbers per row regardless of how long the list is, significantly improving performance.

To make your running total easier to read, use Conditional Formatting. You can set a rule to highlight cells in the running total column that drop below zero (useful for bank balances) or cells that exceed a specific target goal. Go to the Home tab > Conditional Formatting > Highlight Cells Rules to set these parameters.

If you are using a running total for a financial statement, consider using the SUBTOTAL function instead of SUM. If you filter your data to hide certain rows, a standard SUM will still include those hidden rows in the total. Using =SUBTOTAL(9, $B$2:B2) allows the running total to update based only on the visible rows after a filter is applied.

Troubleshooting

If your running total is returning a #VALUE! error, it is almost always due to non-numeric data in your sum range. Check for cells that contain spaces, hidden characters, or numbers formatted as text. You can quickly identify these by looking for small green triangles in the top-left corner of the cells; clicking these will often give you an option to "Convert to Number."

If the total is not updating when you change a value in the source column, check your Calculation Options. Go to the Formulas tab > Calculation Options and ensure that "Automatic" is selected. If it is set to "Manual," you will have to press F9 to refresh the calculations.

If you see ##### in your running total cells, it does not mean the formula is broken. This is Excel's way of telling you that the resulting number is too wide to fit in the current column width. Simply hover your mouse over the boundary between the column letters at the top and double-click to auto-fit the column width.

Frequently Asked Questions

Can I create a running total that resets every month?

Yes. You can use a SUMIFS formula that checks for the month or year in a date column. For example, =SUMIFS($B$2:B2, $A$2:A2, ">="&EOMONTH(A2,-1)+1, $A$2:A2, "<="&EOMONTH(A2,0)). This ensures the sum only includes values where the date falls within the same month as the current row.

How do I handle empty cells in my running total?

If you have gaps in your data, the SUM function will simply treat them as zero. However, if you want the running total cell to remain blank until a value is entered in the source column, wrap your formula in an IF statement: =IF(B2="", "", SUM($B$2:B2)).

Does this work in Google Sheets?

Yes, the logic and the =SUM($B$2:B2) formula are identical in Google Sheets. The only difference is the interface for dragging the fill handle, but the mathematical behavior of absolute and relative references is the same.

Can I use a running total in a Pivot Table?

Yes, you don't even need a formula for this. In a Pivot Table, right-click the value field you want to total, select "Show Values As," and then choose "Running Total In..." from the menu. You will then be prompted to select the base field (usually the date or ID field) to determine the order of the accumulation.

What happens if I sort my data after creating the running total?

If you used the =SUM($B$2:B2) method, sorting the data will likely break the logic of your running total because the rows move but the formula still refers to the physical position of the cells. To avoid this, it is best to sort your data before applying the running total formulas, or use a Pivot Table which handles sorting and totaling simultaneously.