How to Get Absolute Value in Excel

“get absolute value in excel” comes up constantly, so this page leads with the exact answer, and only then explains the detail. Everything works in Excel on Windows and Mac and maps almost one-to-one to Google Sheets. Copy the answer above and get back to work, or read on to turn a one-off fix into something you never have to look up again.

Exact answer

In Excel: use =ABS(number) — it strips the sign and returns the magnitude, so both 42 and -42 return 42.

On this page8

Syntax

=ABS(number)

Arguments

Argumentrequired / optionalDescription
numberrequiredThe value whose sign should be discarded.

Related functions

SIGNROUNDSUMPRODUCT
Annotated stepsExcel
1

Select the cell for the unsigned value and type =ABS(.

2

Select the number or the difference, such as A2-B2.

3

Press Enter; negatives come back positive and positives are unchanged.

4

Wrap it in a comparison to build a tolerance check, or in SUMPRODUCT to total magnitudes across a range.

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

What this does

ABS returns a number without its sign. Its everyday use is not arithmetic curiosity but comparison: the size of a variance matters more than its direction when you are asking "which figures moved most", and a tolerance check ("is this within 0.5 of target either way") is naturally written with ABS. It is also how you make a difference sortable regardless of direction. Note the name collision — ABS is unrelated to absolute cell references written with dollar signs, which is a different concept entirely and a common source of confusion when searching. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. For “get absolute value in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

Budget variance in C2 might be -1,240 or +1,240; =ABS(C2) returns 1240 either way, so the column sorts by size of miss. A tolerance test reads =IF(ABS(A2-B2)<=0.5, "OK", "Check"). Summing the total movement regardless of direction: =SUMPRODUCT(ABS(D2:D50)). ABS turns "how far off" into a number you can sort, threshold and total, which is what variance and tolerance reporting need. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.

In Google Sheets

Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. If you take one thing from this page on “get absolute value in excel”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.

Common mistakes

  • Confusing ABS with absolute cell references ($A$1) — they share a word and nothing else.
  • Applying ABS before summing when the signs were meaningful, which turns a net figure into a gross one and hides offsetting movements.
  • Passing text: ABS returns #VALUE! on anything that is not a number.

Frequently asked questions

How do I make a negative number positive in Excel?

=ABS(A2) returns the value without its sign. To flip a sign instead, multiply by -1.

Is ABS related to absolute references?

No. ABS is a maths function for magnitude; absolute references are the $ signs that stop a reference shifting when you copy a formula.

How do I sum the sizes of changes regardless of direction?

Use =SUMPRODUCT(ABS(range)), which applies ABS across the whole range before totalling it.