How to use ABS in Excel
ABS returns the absolute value — the number without its sign. Use it when only the size of a difference matters, not its direction.
Syntax
=ABS(number)
number | Any number or formula. |
Examples
=ABS(B2-C2)Difference between budget and actual, always positive.=SUMPRODUCT(ABS(B2:B10-C2:C10))Total deviation across all rows.Common mistakes
- Losing the direction
- After ABS you can't tell over from under budget. Keep the original difference in another column if you need both.
Available in: All versions of Excel, Excel for the web, Google Sheets