Functions
ABS
Absolute value of a number
Try it
When to use it
When should I use ABS?
Use ABS whenever you need the magnitude of a value regardless of sign — for example, computing variances, distances, or deviations where direction does not matter.
Used in
Syntax
ABS(number)Examples
=ABS(-26) // => 26
=ABS(-3.68) // => 3.68
=ABS(-6/3) // => 2