Going Stellar

Home/Google Sheets reference

Google Sheets function · Math

ROUNDUP in Google Sheets: syntax and examples

ROUNDUP rounds a number away from zero to a set number of decimal places. Any leftover digit, even a tiny one, pushes the last kept digit up by one. A negative places rounds to tens, hundreds or thousands.

Syntax

ROUNDUP(value, [places])

Arguments

ArgumentTypeRequiredWhat it does
valuenumberyesThe number to round up.
placesnumbernoHow many decimal places to keep. 0 or leaving it out gives an integer. A negative number rounds to tens, hundreds and so on.

Examples

The examples use this table, starting in A1:

AmountNote
1234.561price
2.1ratio
-3.14159delta
20exact
=ROUNDUP(A2, 2)

Result: 1234.57

Two decimals: 1234.561 goes up to 1234.57, even though the third decimal is only 1.

Run in a Google Sheet (English US locale) on .

=ROUNDUP(A3)

Result: 3

Without places the result is an integer, always the next one up.

Run in a Google Sheet (English US locale) on .

=ROUNDUP(A2, -2)

Result: 1300

A negative places rounds to hundreds: 1234.561 becomes 1300.

Run in a Google Sheet (English US locale) on .

=ROUNDUP(A4, 1)

Result: -3.2

Negative numbers move away from zero: -3.14159 becomes -3.2, not -3.1.

Run in a Google Sheet (English US locale) on .

=ROUNDUP(A5, 2)

Result: 20

A value that is already exact stays the same.

Run in a Google Sheet (English US locale) on .

Common errors

  • ROUNDUP ignores the size of the dropped digits. 1234.561 with 2 places gives 1234.57, while ROUND would give 1234.56.
  • For negative numbers, up means away from zero: -3.14159 with 1 place is -3.2, not -3.1.
  • A text that is not a number returns #VALUE!, and leaving out value returns #N/A.
  • The result is a number, not text. Format it with TEXT only if you need a display string.

Compared with Excel

Same syntax as Excel ROUNDUP, except that places is optional in Google Sheets and required in Excel.

Sources

  1. ROUNDUP (Docs Editors Help)

Markdown version · All functions