How to Add Values Without Negative Signs in Excel
Question details
The user wants to calculate the sum of a series of numbers by ignoring any negative signs, essentially finding the sum of their absolute values.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Calculating total magnitudes or total variances where negative figures need to be treated as positive values before being added together.
- Observed behavior
- Normally, adding negative and positive numbers reduces the total sum, but the goal is to treat all inputs as positive numbers (e.g., adding -2.7 and 89 to get 91.7).
Verify that your data range contains only numeric values. Blank cells, text strings, or existing error codes in your data will cause absolute value formulas to return a #VALUE! error.
Use SUMPRODUCT and ABS for a Range of Cells
This is the most efficient method for summing the absolute values of a large, continuous range of data without needing helper columns.
The SUMPRODUCT function natively handles arrays without requiring special keystrokes. By nesting the ABS function inside it, Excel automatically converts all numbers in the specified range to positive values before adding them up.
Click on the empty cell where you want the final calculated total to appear.
Type the formula =SUMPRODUCT(ABS(A1:A10)) into the formula bar. Replace 'A1:A10' with the actual range of your data.
Press the Enter key. The cell will now display the combined total of all values, treating negative signs as positive.

Use the ABS Function for Individual Cells
Ideal for scenarios where you only need to add a few specific, non-contiguous cells together.
Easily Calculate Absolute Sums with WPS Spreadsheet
WPS Spreadsheet fully supports advanced array formulas, ABS, and SUMPRODUCT functions, allowing you to seamlessly calculate absolute totals exactly as you would in Microsoft Excel.
- 1. Open your file in WPS Office: Launch WPS Spreadsheet and open the document containing your numerical data.
- 2. Select a blank cell: Click on the cell where you want the absolute sum to be calculated.
- 3. Input the array formula: Type =SUMPRODUCT(ABS(A1:A10)), highlighting your specific data range.
- 4. Execute the function: Press Enter to instantly view the calculated sum without negative signs.

Frequently Asked Questions
Can I use an array formula with the SUM function to add absolute values?
Yes. You can use the formula =SUM(ABS(A1:A10)). However, because this is an array formula, you must press Ctrl+Shift+Enter (instead of just Enter) for it to calculate correctly in older versions of Excel. Using SUMPRODUCT avoids this requirement.
Why does my ABS formula return a #VALUE! error?
This error occurs if the referenced cells contain text, spaces, or non-numeric characters. Check your selected range and ensure all cells contain valid numbers. You can use the ISNUMBER function to help locate non-numeric data.
How can I sum only the positive numbers and completely ignore the negative ones?
If you want to exclude negative numbers from your total entirely rather than converting them to positive values, use the SUMIF function. Enter =SUMIF(A1:A10, ">0") to add up only the values that are greater than zero.




