Table of Contents
=ABS(number) returns the distance from zero. For example, =ABS(-12) returns 12, =ABS(12) returns 12, and =ABS(0) returns 0.
Apply ABS to values in a column
If your first quantity is in E5, put =ABS(E5) in a different column, such as F5, and fill down. Keep the original quantity column so you can tell whether a negative entry represented a return, adjustment, or data-entry mistake.


Compare the size of a difference
=ABS(B2-C2) reports how far two values differ regardless of which is larger. For example, a target of 100 and an actual value of 97 give a difference of 3. To flag anything more than 5 units away, use =IF(ABS(B2-C2)>5,"Review","Within tolerance").
If users also need to know whether the actual figure is above or below target, keep a separate signed difference. The Excel formulas lesson shows how to check references before filling a formula down. If the calculation returns #VALUE!, check whether the input is text and use VALUE for correctly formatted numeric text.
Reader Comments 0
Sign in with email or Google to join the discussion.