The Google Sheets function ROUNDUP is a useful tool for adjusting numerical values in financial, statistical, and analytical contexts. By always rounding a number up to the nearest specified decimal place, this function ensures precise calculations when upper limits are necessary, such as pricing or forecasts.
Syntax
ROUNDUP(value, places)
- value: The numeric value to be rounded up.
- places: The number of decimal places to which you want to round up the value.
Example #1
ROUNDUP(3.14159, 2)
This function rounds up the value of pi to two decimal places, resulting in 3.15.
Example #2
ROUNDUP(7.8, 0)
Here, the function rounds up 7.8 to the nearest whole number, giving a result of 8.
Example #3
ROUNDUP(-4.7, 1)
Using this function, the negative value -4.7 is rounded up to one decimal place, resulting in -4.7 (since it rounds towards zero).
Error handling
- VALUE! – Indicates that the input value is not a numeric type, meaning an invalid argument was provided.
- NUM! – This error arises when the places argument is less than zero, which is not permissible.