Add up magnitudes, ignoring sign — total variance regardless of direction, total movement up or down. SUMPRODUCT with ABS sums the absolute values in one cell.
The example
+5, −3, +2 sum to 10 in magnitude.
| A | B | |
|---|---|---|
| 1 | Value | |
| 2 | +5 | |
| 3 | −3 | |
| 4 | +2 | |
| 5 | Sum of |values| | 10 |
The formula
Sum without signs:
How it works
ABS over the array, then sum:
ABS(B2:B100)returns an array of magnitudes (signs removed).SUMPRODUCTtotals that array — the sum of absolute values.- A plain
=SUM(ABS(range))needs Ctrl+Shift+Enter (array entry) in older Excel; SUMPRODUCT works without it. - For a conditional absolute sum, multiply in a condition array, as with any SUMPRODUCT.
Total absolute variance across a budget is exactly this — it measures total deviation whether over or under. Compare to a plain SUM, which lets overs and unders cancel out.
Try it: interactive demo
Values (signs allowed).
Variations
Array SUM
Ctrl+Shift+Enter (older):
Conditional abs sum
Add a condition:
Largest absolute
Max magnitude:
Pitfalls & errors
SUM(ABS()) is an array formula. It needs Ctrl+Shift+Enter pre-365; SUMPRODUCT avoids that.
Text in range. ABS errors on text — ensure the range is numeric.
Don’t confuse with plain SUM. Absolute sum ignores cancellation; that’s the point, but make sure it’s what you want.
Practice workbook
Frequently asked questions
How do I sum absolute values in Excel?
Can I use SUM(ABS()) instead?
How do I sum absolute values that meet a condition?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class