Function · Math

Excel ABS function

The Excel ABS function drops the sign of a number. A payment stored as -1250.40 becomes 1250.40.

All current Excel versions. Also in Excel for the web and Google Sheets.

Syntax =ABS(number)

ABS
=ABS(-1250.4)

Arguments

NameRequiredWhat to pass
numberRequiredThe number whose sign you want to drop.

Examples

A loan payment that Excel returned as a negative

=ABS(B1)

Result 1250.40

=ABS(B1)B2
Sign
AB
1Payment-1250.40
2Amount1250.40
A picture of the sheet, not a live calculator. Prefer fixing the sign inside PMT. ABS is the cleanup when the figure is already negative.

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.