### ABS Function In Excel

##### Associated Files Download Links

Contents

This Excel Tutorial demonstrates how to use the **Excel ABS Function** in Excel to calculate the absolute value, with formula examples.

## ABS Function Description:

The ABS Function Calculates the absolute value of a number. The absolute value is the number’s distance from zero. Example: The absolute value of -9 is 9.

## Formula Examples:

Example | Formula | Result |
---|---|---|

Negative | =ABS(C5) | 5 |

Positive | =ABS(C6) | 3 |

Zero | =ABS(C7) | 0 |

## Syntax and Arguments:

The Syntax for the ABS Formula is:

1 | =ABS(number) |

### Function Arguments ( Inputs ):

**number** – A number.

## Additional Notes

Use the ABS Function to calculate the absolute value of a number. Simply enter any number directly into the formula, or reference a cell containing a number.

## ABS Examples in VBA

You can also use the ABS function in VBA. Type:

`application.worksheetfunction.abs(number)`

For the function arguments (number, etc.), you can either enter them directly into the function, or define variables to use instead.

Return to the List of all Functions in Excel

## How to use the ABS Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:

`=AND(`

After entering it in the cell, notice how the AND formula inputs appear below the cell:

You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=ABS(” into a cell, without leaving the cell, use the shortcut **CTRL + A** (**A** for **A**rguments) to open the “Insert Function Dialog Box” for detailed instructions:

For more information about the ABS Formula visit the

Microsoft Website.