The ABS function

Returns the absolute value of a number, the number without its sign. -25 becomes 25 and 25 stays 25.

Syntax

ABS(number)
number
The number, cell or calculation to take the absolute value of.

Examples

B1=ABS(-25)
AB
125
E1=ABS(C2-B2)
ABCDE
1ItemBudgetActual150
2Rent12001050
D1=SUMPRODUCT(ABS(B2:B5))
ABCD
1MonthChange305
2Jan120
3Feb-80
4Mar45
5Apr-60

Questions

How do I turn negative numbers into positive numbers in Excel?

Wrap the value in ABS, as in =ABS(A2). Positive numbers stay as they are. To flip the sign of every number instead, multiply by -1.

How do I add up differences without them canceling out?

Use =SUMPRODUCT(ABS(B2:B5)). ABS turns every change positive first, so a drop of 80 counts as much as a rise of 80. SUM(ABS(B2:B5)) gives the same in Excel 365.

Related functions