Skip to content

ABS

Math & trigExcel 2007

The absolute (unsigned) value of a number.

Syntax

ABS(number)

Examples

=ABS(A2-B2)

size of the difference, always ≥ 0

Related functions

More Math & trig functions

← All 510 functions

Syntax follows Microsoft’s documentation. Examples are written to be pasted into a cell and checked. Argument separators may be ; in your locale. The AI explainer runs on a free community model — verify anything important.