TX Sheet Control

ABS Function

Function

Return the absolute value of a number. ABS removes the sign: a negative number becomes positive, and a positive number or zero is returned unchanged. Text that represents a number, such as "-7", is converted first; other text returns #VALUE!.

Syntax

ABS(number)

Category: Math. Minimum arguments: 1. Maximum arguments: 1.

Available for supported offline calculation.

Examples

=ABS(-42)

The formula returns 42.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also