ROUNDUP
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 |
|---|---|---|---|---|
| =ROUNDUP(3.2,0) | Always rounds away from zero, regardless of the discarded digit | 4 | 4 | Matched |
| =ROUNDUP(-3.2,0) | For negative numbers, 'up' means away from zero (more negative), not toward positive infinity | -4 | -4 | Matched |
| =ROUNDUP(21.5,-1) | Negative num_digits rounds to the left of the decimal point (nearest multiple of 10 here) | 30 | 30 Rounding 21.5 up (away from zero) to the nearest 10 gives 30 -- this is Microsoft's own documented example for ROUNDUP |
Matched |
| =ROUNDUP(3.14159,2) | Rounds up to 2 decimal places even though the 3rd decimal (1) would round down normally | 3.15 | 3.15 | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation