The ABS function in Excel returns the absolute value of a number. It simply converts any negative number into its positive counterpart. This function is commonly used in various mathematical and financial calculations.

## Syntax

**ABS(number)**

## Arguments

number | The number for which you want to find the absolute value. |

## How to Use

You can use the ABS function in Excel by providing a number as its argument. It will return the absolute value of that number. Here’s a simple example:

1 |
=ABS(-5) |

This formula will return the result:

1 |
5 |

**Optional:** If you have a cell reference that contains a number, you can use it as the argument. For example:

1 |
=ABS(A1) |

Assuming cell A1 contains the value -7, this formula will return:

1 |
7 |

Remember that the ABS function is very useful for handling scenarios where you need the positive magnitude of a number, regardless of its sign.

## Examples

Here are a few more examples of using the ABS function:

**Example 1**

1 |
=ABS(-10) |

1 |
10 |

**Example 2**

1 |
=ABS(0) |

1 |

**(Optional) Advanced Use:** You can also use the ABS function within other formulas or functions to manipulate data. For instance, you can calculate the sum of the absolute values of a range of numbers like this:

1 |
=SUM(ABS(A1:A5)) |

This formula will sum the absolute values of the numbers in cells A1 through A5.

## Additional Information

If you’re not familiar with the term “absolute value,” it represents the distance of a number from zero on the number line. For positive numbers, their absolute value is the same as the number itself. For negative numbers, it is the positive counterpart of the number. You can find more information on absolute value on Wikipedia.