In Excel: use =CEILING(number, significance) — it rounds up to the next multiple of your step, so =CEILING(213, 50) returns 250.
On this page8
Syntax
Arguments
| Argument | required / optional | Description |
|---|---|---|
number | required | The value to round up. |
significance | required | The multiple to round up to — 0.25, 50, 1000 and so on. |
Related functions
Click the cell that should hold the billed or ordered quantity.
Type =CEILING( and select the raw measured value.
Type a comma and the band size the business actually charges or ships in.
Press Enter; every value now lands on the next band up, never below it.
What this does
CEILING rounds a value up to the next multiple of a step you choose. Where ROUNDUP works in decimal places, CEILING works in business units: the next 50 kilos, the next 0.25 hours, the next full box. Modern Excel also offers CEILING.MATH, which adds a mode argument controlling how negative numbers behave; the classic CEILING is still the one most templates and older workbooks use. The step is required, and passing zero returns #DIV/0! because "the next multiple of nothing" has no answer. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “excel ceiling function”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the outcome you expected before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
Freight is billed in 50 kg bands, so a 213 kg shipment costs =CEILING(213, 50), which returns 250. Billing consulting in quarter hours: =CEILING(1.1, 0.25) returns 1.25. Sizing a server plan sold in blocks of 100 GB, =CEILING(342, 100) returns 400. CEILING encodes a billing or packing rule directly in the formula, so the spreadsheet charges what the business actually charges instead of what the raw measurement says. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.
In Google Sheets
Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. For “excel ceiling function”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.
Common mistakes
- Passing 0 as the significance, which returns
#DIV/0!. - Using
CEILINGwhere the requirement is "nearest", not "next up" — that isMROUND, andCEILINGwill systematically overcharge. - Mixing signs between number and significance in the classic
CEILING, which errors; CEILING.MATH handles negatives with an explicit mode instead.
Frequently asked questions
What is the difference between CEILING and ROUNDUP?
ROUNDUP rounds up to a number of decimal places; CEILING rounds up to a multiple. To reach the next 25, only CEILING can express it.
What is CEILING.MATH?
A newer variant that takes an optional mode argument for negative numbers, letting you choose whether they round away from or toward zero. For positive values it behaves the same as CEILING.
How do I round up to the next whole hour?
On a decimal number of hours use =CEILING(A2, 1). On a real time value use =CEILING(A2, "1:00") and format the result as time.