1. Home
  2. Functions
  3. Math
  4. ROUNDUP

ROUNDUP function

Rounds a number away from zero to a given number of digits.

Syntax

=ROUNDUP(number, num_digits)

Arguments

ArgumentRequiredDescription
numberRequiredThe number to round
num_digitsRequiredDigits after the decimal point (negative rounds to the left of it)

How to use ROUNDUP

ROUNDUP takes 2 required arguments. Type =ROUNDUP( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=ROUNDUP(3.2, 0)Result 4
=ROUNDUP(-3.14159, 1)Result -3.2
=ROUNDUP(31415.92654, -2)Result 31500

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.