Quick Answer

CEILING.MATH Function

Rounds up to a multiple of significance, with a mode for negative numbers.

✓ Excel✓ Google SheetsExcel Excel 2013+

Syntax

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

Parameters

ParameterDescriptionRequired
numberThe value you want to round.Required
significanceThe multiple to round to. Defaults to 1 if omitted.Optional
modeControls rounding of negative numbers. 0 (default) rounds toward zero; any other value rounds away from zero (more negative).Optional

Basic Example

Round up to the next integer

=CEILING.MATH(24.3)
Result25

With default significance 1 and mode 0, 24.3 rounds up to 25.

Advanced Examples

Example 1: Negative numbers: toward zero vs away from zero

Controlling how -5.5 is rounded.

Mode 0 rounds toward zero; a non-zero mode rounds away from zero.

=CEILING.MATH(-5.5, 1, 0)
Result: -5
Mode 0 rounds -5.5 toward zero, giving -5. With mode 1 it would give -6.

Example 2: Round to a chosen decimal multiple

Round 6.05 up to the nearest 0.1.

Pass significance 0.1.

=CEILING.MATH(6.05, 0.1)
Result: 6.1
6.1 is the first multiple of 0.1 at or above 6.05.

How CEILING.MATH Works

CEILING.MATH rounds number up to the nearest multiple of significance (default 1). Unlike the classic CEILING, it permits any sign combination. The mode argument only affects negative numbers: mode 0 rounds toward zero, and any other value rounds away from zero.

1
Select the cell
Click the cell for the result.
2
Enter the formula
Type =CEILING.MATH(number, [significance], [mode]).
3
Press Enter
The rounded-up value appears.

Important Notes & Limitations

  • Only available in Excel 2013 and later (and Microsoft 365); older versions return #NAME?.

  • For positive numbers, mode has no effect; it always rounds up.

  • Workbooks saved for pre-2013 compatibility will not support this function.

Common Errors & Fixes

#NAME?Used in an Excel version earlier than 2013.

Fix: Use CEILING, or open the file in Excel 2013+ / Microsoft 365.

#VALUE!A non-numeric argument was supplied.

Fix: Use numeric values or numeric cell references.

Download Practice File

Practice CEILING.MATH with Real Data

Download a sample CSV file with pre-populated data and practice exercises for the CEILING.MATH function. Works in both Excel and Google Sheets.

Works in Google SheetsCompatible with ExcelIncludes exercises

File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps

Frequently Asked Questions

What does the mode argument do?
Mode only matters for negative numbers: 0 (default) rounds toward zero, any other value rounds away from zero.
Is CEILING.MATH available in older Excel?
No, it was introduced in Excel 2013. Use CEILING in older versions.
How is it different from CEILING?
CEILING.MATH lifts the sign restriction and adds mode control; classic CEILING errors on mismatched signs.