Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

Excel CEILING.MATH function

doc ceiling math function 1


Description

The CEILING.MATH function rounds a given number up to the nearest multiple of significance or to the nearest integer number.

Syntax and arguments

Formula syntax

=CEILING.MATH(number, [significance],[mode])

Arguments

  • Number: Required. The number value you want to round up.
  • Significance: Optional. The multiple you want to round number to.
  • Mode: Optional. Decide to round negative numbers toward or away from zero while using the CEILING.MATH function, and default is 0.

Return Value

The CEILING.MATH function rounds number up to nearest multiple.

Notes:

1. If the significance is omitted or default, the significance is 1 for positive number, -1 for negative number. For example, 2 rounded to 2, -2 rounded to -2.

2. If the significance is omitted or default, the positive decimal numbers will be rounded up to nearest integer. For instance, round 1.23 to 2.

3. If the significance and mode are omitted or default, the negative decimal numbers will be rounded up to nearest integer which is toward to zero. For instance, round -1.23 to -1.

4. Both of the number and significance are negative, the result is rounded down away from zero.

5. If the Mode is non-zero, the negative number will be round up to nearest multiple of significance away from zero, for instance, =CEILING.MATH(-12,5,1), rounds -12 to -15.

6. If the number is an exact multiple of significance, no changes occurs.

Usage and Examples

Here are some examples provided for you to understand how to use the CEILING.MATH function in Excel.

Positive integer number

Number Significance Mode Result Formula Notes
8     8 =CEILING.MATH(8) Round 8 up to the nearest multiple of 1(default)
8 11   11 =CEILING.MATH(8,11) Round 8 up to the nearest multiple of 11

Positive decimal number

Number Significance Mode Result Formula Notes
1.23     2 =CEILING.MATH(1.23) Round 1.23 up to the nearest multiple of 1(default)
1.23 3   3 =CEILING.MATH(1.23,3) Round 1.23 up to the nearest multiple of 3

Positive integer number

Number Significance Mode Result Formula Notes
-10     -10 =CEILING.MATH(-10) Round -10 up to the nearest multiple of 1(default), toward to zero(default)
-10 3   -9 =CEILING.MATH(-10,3) Round -10 up to the nearest multiple of 3, toward to zero(default)
-10 3 1 -12 =CEILING.MATH(-10,3,1) Round -10 to the nearest multiple of 3, away from zero

Negative decimal number

Number Significance Mode Result Formula Notes
-22.1     -21 =CEILING.MATH(-21.11) Round -21.11 up to the nearest multiple of 1(default), toward to zero(default)
-22.1 10   -20 =CEILING.MATH(-21.11,10) Round -21.11 up to the nearest multiple of 10, toward to zero(default)
-22.1 10 1 -30 =CEILING.MATH(-21.11,10,1) Round -21.11 to the nearest multiple of 10, away from zero

Download Sample File

doc ceiling sample fileClick to download CEILING.MATH function sample file


Relative Functions:

  • Excel CEILING Function
    The CEILING function returns a number rounded up to a nearest multiple of significance. For example, =CEILING(10.12,0.2) returns 10.2, it round 10.12 to nearest multiple of 0.2.

  • Excel CEILING.PRECISE Function
    The CEILING.PRECISE function returns a number rounded up to a nearest multiple or nearest integer ignoring sign of number, it round all numbers up.

Relative Articles:


Excel Productivity Tools

300 Advanced Features Help You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 70% time.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.

Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Office Tab Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.