In Excel: use =ABS(number) — it strips the sign and returns the magnitude, so both 42 and -42 return 42.
On this page8
Syntax
Arguments
| Argument | required / optional | Description |
|---|---|---|
number | required | The value whose sign should be discarded. |
Related functions
Select the cell for the unsigned value and type =ABS(.
Select the number or the difference, such as A2-B2.
Press Enter; negatives come back positive and positives are unchanged.
Wrap it in a comparison to build a tolerance check, or in SUMPRODUCT to total magnitudes across a range.
Need it as an auditable file?
Ships inside the linked template — formula-driven, unlocked, audit-ready.
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. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “do absolute value in excel”. Start on a copy or a tiny sample, keep the affected cells visible, and compare the result with the tool above before you touch the real workbook. 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. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.
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. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.
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. Here is the takeaway for “do absolute value in excel”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.
Common mistakes
- Confusing
ABSwith absolute cell references ($A$1) — they share a word and nothing else. - Applying
ABSbefore summing when the signs were meaningful, which turns a net figure into a gross one and hides offsetting movements. - Passing text:
ABSreturns#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
This is also commonly searched as “how to make absolute value in excel”, “how do you do absolute value in excel” and “how to add absolute values in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.
Why do people search for this in so many different ways?
Because the same task has many names. “how to make absolute value in excel”, “how do you do absolute value in excel”, “how to add absolute values in excel” all point at the one operation explained on this page, which is why they all lead here.