The ABS function in Excel always returns positive value of an expression.
Syntax of ABS formula
When and how to use ABS function?
You can use this function where values are always positive. Like distance.
Supply any expression to ABS function, which will result in number. ABS function will return distance of that number from 0 on number line. And this what absolute value means.
In Cell A2 I am subtracting 20 from 10. When i encapsulate it with ABS formula, see what we get.
We get 10 instead of -10.
That’s it. This is how you get absolute value in Excel.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.