Function · Math
Excel ABS function
The Excel ABS function drops the sign of a number. A payment stored as -1250.40 becomes 1250.40.
Syntax =ABS(number)
=ABS(-1250.4)Arguments
| Name | Required | What to pass |
|---|---|---|
| number | Required | The number whose sign you want to drop. |
Examples
A loan payment that Excel returned as a negative
=ABS(B1)Result 1250.40
| A | B | |
|---|---|---|
| 1 | Payment | -1250.40 |
| 2 | Amount | 1250.40 |
ABS returns the size of a number. -1250.40 and 1250.40 both become 1250.40. The usual reason to need it on a finance sheet is that PMT came back negative because the loan amount was entered positive. The cleaner fix is to negate the loan amount inside PMT so the payment is positive in the first place. ABS is what you use when the negative number is already in a cell you should not rewrite.
ABS does not round. -1250.40 stays 1250.40, cents included. It also turns a negative variance into a positive gap, which hides whether you were over or under. Keep the sign if the direction is the point.