Absolute Value


The ABS function in Excel returns the absolute value of a number. In other words: the ABS function removes the minus sign (-) from a negative number, making it positive.

1. For example, the ABS function in cell B1 below returns the absolute value of a negative number.

Absolute Value in Excel

The ABS function has no effect on 0 (zero) or positive numbers.

2. The absolute value of 0 is 0.

Abs Function

3. The absolute value of a positive number is the same positive number.

Positive Number

When do we need the ABS function in Excel?

4. For example, calculate the forecast error (difference between the actual and the forecast value) for each month.

Forecast Error

Note: if we look at the sum of these errors (zero), this forecast model seems perfect, but it's not!

5. Simply use the ABS function to calculate the absolute error for each month.

Absolute Error

10/14 Completed! Learn more about statistical functions >
Go to Next Chapter: Round   |   Become an Excel Pro: 300 Examples