Google Sheets ABS function
Returns the absolute value of a number: the number without its minus sign.
Syntax
=ABS(value)
value | The number to make positive. |
|---|
Try it
Edit the formula and the result updates instantly. Click a cell to add its reference.
Measurements
Result: 42.5
| A | B | |
|---|---|---|
| 1 | Item | Value |
| 2 | Pi | 3.14159 |
| 3 | Loss | -42.5 |
| 4 | Rate | 2.675 |
| 5 | Area | 144 |
| 6 | Third | 0.3333 |
| 7 | Change | -7 |
Examples
These use the sample sheet above.
→ 42.5
-42.5 becomes 42.5.
→ 49.5
Total size of two changes, ignoring direction.
Tips & common mistakes
- Great for measuring how far apart two numbers are regardless of which is bigger: =ABS(A1-B1).