ABS
Supported, behaves as documentedCategory: Math and trigonometry · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (24.2.7.2, 2026-07-04) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 24.2.7.2 (tested 2026-07-04)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =ABS(5) | Positive numbers pass through unchanged | 5 | 5 | Matched |
| =ABS(-5) | Negative numbers become positive | 5 | 5 | Matched |
| =ABS(0) | Zero is its own absolute value | 0 | 0 | Matched |
| =ABS(3-10) | Argument can be any expression evaluating to a number | 7 | 7 | Matched |
| =ABS(A1) | Absolute value of a negative cell reference | 12.5 | 12.5 | Matched |
| =ABS(1/0) | Errors in the argument propagate through ABS unchanged rather than being suppressed | #DIV/0! | #DIV/0! | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation