Returns the absolute value of a number. The absolute value of any number is its value without the + or - sign.
ABS function supports decimals, fractions and cell references as input as well.
|
Formula
|
Result
|
|
=ABS(-6)
|
6
|
|
=ABS(1.23)
|
1.23
|
|
=ABS(-8/2)
|
4
|
|
Errors
|
Meaning
|
|
#N/A!
|
|
|
#NAME!
|
|
|
#VALUE!
|
|
|
#REF!
|
|