1. Home
  2. Functions
  3. Math
  4. CEILING.MATH

CEILING.MATH function

Rounds a number up to the nearest integer or multiple; mode chooses the direction for negative numbers.

Syntax

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

Arguments

ArgumentRequiredDescription
numberRequiredThe number to round
significanceOptionalThe multiple to round to (1 when left out)
modeOptionalFor negative numbers, non zero rounds away from zero

How to use CEILING.MATH

CEILING.MATH takes 1 required argument and 2 optional arguments. Type =CEILING.MATH( 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.

=CEILING.MATH(24.3, 5)Result 25
=CEILING.MATH(-8.1, 2)Result -8
=CEILING.MATH(-5.5, 2, -1)Result -6

Every formula, right in your browser

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