Absolute Value in Excel Formula

If you just need to absolute value in excel formula and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

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. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. Treat “absolute value in excel formula” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected formula shows up while it is still harmless. 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 turns a calculation you can defend to a CFO or an auditor into a method you can reuse, explain, and defend when the workbook leaves your screen.

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

If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. The short version of “absolute value in excel formula”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.

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.

Other ways people ask this

People reach this page typing “absolute values excel”, “absolute value for excel”, “excel formula for absolute value” and “how to absolute value in excel”, among other phrasings; whichever wording you used, the fix above is the one you want.

Why do people search for this in so many different ways?

Because the same task has many names. “absolute values excel”, “absolute value for excel”, “excel formula for absolute value” all point at the one operation explained on this page, which is why they all lead here.