ID EN
#Math

ROUNDUP

Excel Functions 🇮🇩 Bahasa Indonesia

Membulatkan suatu bilangan ke atas sejumlah digit tertentu

Syntax

EXCEL
=ROUNDUP(number, num_digits)

Arguments

Parameter Deskripsi
number The number to round up.
num_digits The place at which number should be rounded.

Return Value

Angka yang bulat.

Details

Fungsi ROUNDUP membulatkan angka ke atas. Berbeda dengan pembulatan standar yang hanya membulatkan angka kurang dari 5 ke bawah, ROUNDUP membulatkan semua angka ke atas. Misalnya: ROUNDUP membutuhkan dua argumen, angka dan angka_digit. Number adalah angka yang akan dibulatkan, dan num_digits adalah tempat di mana angka tersebut harus dibulatkan. Jika jumlah_digit lebih besar dari nol, fungsi ROUNDUP dibulatkan ke sisi kanan koma desimal. Jika jumlah_digit lebih kecil atau sama dengan nol, fungsi ROUNDUP dibulatkan ke sisi kiri koma desimal. Gunakan nol (0) untuk num_digits untuk membulatkan ke bilangan bulat terdekat. Tabel di bawah merangkum perilaku ini: Fungsi ROUNDUP berfungsi seperti fungsi ROUND, hanya saja fungsi ini selalu dibulatkan ke atas. Langkah-langkahnya seperti ini: Kita bisa mendapatkan hasil yang sama dengan fungsi ROUNDDOWN

Contoh

Example 1

The ROUNDUP function rounds numbers up. Unlike standard rounding, where only numbers less than 5 are rounded down, ROUNDUP rounds all numbers up. For

EXCEL
=ROUNDUP(3.001,0) // returns 4
How ROUNDUP works

We can get the same result with the ROUNDDOWN function like this:

EXCEL
=ROUNDUP(2.123,0) // returns 3
=ROUNDUP(2.123,1) // returns 2.2
=ROUNDUP(2.123,2) // returns 2.13
=ROUNDUP(2.123,3) // returns 2.123
Round to right of the decimal

To round up values to the right of the decimal point, use a positive number for digits:

EXCEL
=ROUNDUP(A1,1) // Round up to nearest tenth (0.1)
=ROUNDUP(A1,2) // Round up to nearest hundredth (0.01)
=ROUNDUP(A1,3) // Round up to nearest thousandth (0.001)
=ROUNDUP(A1,4) // Round up to nearest ten-thousandth (0.0001)
Round to left of the decimal

To round up values to the left of the decimal point, use zero or a negative number for digits:

EXCEL
=ROUNDUP(A1,0) // Round up to nearest whole number
=ROUNDUP(A1,-1) // Round up to nearest 10
=ROUNDUP(A1,-2) // Round up to nearest 100
=ROUNDUP(A1,-3) // Round up to nearest 1000
=ROUNDUP(A1,-4) // Round up to nearest 10000
ROUNDUP with negative numbers

Excel's ROUNDUP function always rounds numbers up away from zero, to a specified number of digits. You can see this behavior in the examples below:

EXCEL
=ROUNDUP(-2.123,0) // returns -3
=ROUNDUP(-2.123,1) // returns -2.2
=ROUNDUP(-2.123,2) // returns -2.13
=ROUNDUP(-2.123,3) // returns -2.123
Nesting calculations inside ROUNDUP

Other operations and functions can be nested inside the ROUNDUP function. For example, to round the result of A1 divided by B1, you can use a formula

EXCEL
=ROUNDUP(A1/B1,0) // round up result to nearest integer

See Also

ROUND ROUNDDOWN ROUNDUP CEILING FLOOR MROUND INT TRUNC