FormulaCraft

ABS

ABS converts a number to its non-negative magnitude. It is common when you care about the size of a difference, not its direction — for example budget variance.

Excel
=ABS(A2)
Google Sheets
=ABS(A2)

Verified example

Computed by a real spreadsheet engine on the sample data below.

Value
-42

=ABS(A2)42

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

How it works

  1. 1A2 holds the number.
  2. 2ABS removes the sign.
  3. 3-42 becomes 42.

Need a version for your data?

Try: “Get the absolute value of the number in A2

Related

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: