How to Sum Positive and Negative Numbers in an Excel Column
Question details
The user needs to calculate the total sum of a column containing both positive and negative numbers in Excel, and resolve issues where some values are not being included in the calculation.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Calculating net totals or running totals for a mixed column of positive and negative financial or numerical data.
- Observed behavior
- The standard SUM function normally processes both positive and negative values automatically, but sometimes fails to include certain numbers if they are incorrectly stored as text.
Ensure that your target data range does not contain any hidden rows or error values, and double-check that your cells are formatted as numbers rather than text before applying your formula.
Use the Standard SUM Function to Total Values
The standard SUM function inherently calculates the net total of both positive and negative values within a specified range without needing complex array formulas.
Many users mistakenly believe that array formulas are required to handle mixed signs. However, the basic SUM function automatically adds positive numbers and subtracts negative numbers to give you the exact net total.
Click on an empty cell where you want the final calculated total to appear.
Type the formula =SUM(P2:P11), replacing 'P2:P11' with the actual range of your data containing the mixed numbers.
Press the Enter key. Excel will instantly compute the net sum of all positive and negative values in that column.

Calculate a Bottom-Up Running Total
If you need to keep a running total that updates as you copy the formula upward, you can use absolute row references.
Easily Calculate Complex Formulas in WPS Spreadsheet
WPS Office Spreadsheet offers full compatibility with Excel formulas, including SUM, allowing you to easily manage positive and negative numbers, fix formatting issues, and calculate running totals seamlessly.
- 1. Open your workbook: Launch WPS Spreadsheet and open the document containing your numerical data.
- 2. Select the output cell: Click on the cell where you want the net total of your positive and negative numbers to be displayed.
- 3. Apply the AutoSum feature: Navigate to the Formulas tab and click 'AutoSum', or manually type =SUM(your_range).
- 4. Confirm the calculation: Press Enter to instantly view the accurate net total of your selected column.

Frequently Asked Questions
Why is my SUM formula ignoring certain positive or negative numbers?
This typically occurs when the excluded numbers are formatted as text rather than numeric values. You can resolve this by selecting the affected cells, clicking the yellow warning triangle icon that appears next to them, and selecting 'Convert to Number'.
Do I need an array formula to sum both positive and negative values together?
No, array formulas are completely unnecessary for this task. The standard SUM function in Excel automatically handles both positive and negative numbers within the specified range, properly adding and subtracting them to yield a net total.
How do I sum only the positive numbers in a column containing both?
To sum only positive values, you should use the SUMIF function instead of SUM. For example, entering the formula =SUMIF(P2:P11, ">0") will calculate the total of strictly the values greater than zero in that range.




