Function Problems

How to Add Values Without Negative Signs in Excel

Phi Hung VoPhi Hung Vo Nov 2, 2026 870 views

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.

How to Add Values Without Negative Signs in Excel
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).
Before you start

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.

Solution 1Recommended

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.

1
Select the destination cell

Click on the empty cell where you want the final calculated total to appear.

2
Enter the SUMPRODUCT formula

Type the formula =SUMPRODUCT(ABS(A1:A10)) into the formula bar. Replace 'A1:A10' with the actual range of your data.

3
Calculate the result

Press the Enter key. The cell will now display the combined total of all values, treating negative signs as positive.

Use SUMPRODUCT and ABS for a Range of Cells
Formula Tip: Because SUMPRODUCT handles arrays natively, you only need to press Enter. You do not need to use Ctrl+Shift+Enter.
Powerful Spreadsheet Software

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. 1. Open your file in WPS Office: Launch WPS Spreadsheet and open the document containing your numerical data.
  2. 2. Select a blank cell: Click on the cell where you want the absolute sum to be calculated.
  3. 3. Input the array formula: Type =SUMPRODUCT(ABS(A1:A10)), highlighting your specific data range.
  4. 4. Execute the function: Press Enter to instantly view the calculated sum without negative signs.
100% compatible with Microsoft Excel formulas, including ABS and SUMPRODUCT.Lightweight architecture ensures smooth performance even with large datasets.Built-in function wizard helps you easily search for and apply mathematical formulas.
QA img-9

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.