CEILING.PRECISE rounds a number up to the nearest multiple of a significance you choose, and — unlike the older CEILING function — it always rounds upward (toward positive infinity), even for negative numbers. The syntax is =CEILING.PRECISE(value, [significance]). If you omit the significance, it defaults to 1, so the function simply rounds up to the next whole number. You need nothing beyond a Google Sheets account and a cell to type in.
What You'll Need
- A Google account with access to Google Sheets (the web version at sheets.google.com or the Google Sheets mobile app for Android or iOS).
- A spreadsheet open in edit mode, with permission to edit it.
- The number (or cell reference) you want to round and the multiple you want to round to.
Step-by-Step
- Pick an empty cell where you want the rounded result to appear. Click it once so it is selected.
- Type an equals sign (=) to start a formula. The formula bar at the top of the sheet becomes active.
- Enter the function name exactly as
CEILING.PRECISE, followed by an opening parenthesis. As you type, Sheets shows an autocomplete list — you can click the function name there instead of typing it, which avoids typos. The period between the two words matters; it is not a space or a hyphen. - Type the value you want to round, then a comma. For example
=CEILING.PRECISE(7.2,. You can also click a cell that contains the number, such as=CEILING.PRECISE(A2,. - Type the significance — the multiple you want to round up to — and close the parenthesis. For example
=CEILING.PRECISE(7.2, 5)returns 10, because 10 is the next multiple of 5 at or above 7.2. - Press Enter (or Return on a Mac). The result appears in the cell and the formula stays visible in the formula bar when the cell is selected.
- Check negative numbers behave as expected.
=CEILING.PRECISE(-4.3, 2)returns -4, not -6, because it rounds toward positive infinity. If you wanted the other direction, CEILING.PRECISE is the wrong function — see the section below. - Copy the formula down if you are working with a column of numbers. Drag the small blue square at the bottom-right corner of the selected cell, or select the range and press Ctrl+D (Cmd+D on Mac) to fill down. Relative references adjust automatically.
- Format the output if needed. Select the result cells and use Format > Number to set decimal places or currency. Formatting changes only the display, not the underlying value.
How the Arguments Behave
The first argument is required. If you leave it out or point it at an empty cell, you get a 0 rather than an error, because an empty cell is treated as zero. Text in the value cell returns a #VALUE! error.
The second argument, significance, is optional and defaults to 1. A significance of 0 returns 0 regardless of the value, which is rarely what anyone wants. A negative significance is allowed and flips the rounding direction in the sense that the result moves away from zero on the number line — for example =CEILING.PRECISE(-4.3, -2) returns 6, because the function still rounds toward positive infinity while using the absolute value of the significance.
Common uses: rounding prices up to the nearest 5 or 10 cents, rounding order quantities up to full cases, rounding time to the next 15-minute slot, and rounding dimensions up to the next stock size. Because the function rounds up, it is the safe choice when running short is worse than overshooting — you never end up with a quantity below the requirement.
Common Mistakes
Confusing it with CEILING or CEILING.MATH. The older CEILING function has an optional mode argument and can round negative numbers toward zero, depending on how it is called. CEILING.MATH also takes a mode argument and defaults to rounding negative numbers away from zero. CEILING.PRECISE has no mode argument at all — it always rounds toward positive infinity. If a formula copied from an older sheet gives different answers, this is usually why.
Using a period where a comma belongs. In locales that use a comma as the decimal separator, argument separators can differ. If the formula will not parse, check the separator your sheet expects.
Typing the name with a space. CEILING PRECISE and CEILING-PRECISE are not valid. It is a dot, with no spaces around it.
Forgetting that 0 significance returns 0. If every result in a column is zero, look at the significance cell — it is probably empty or zero.
Rounding text or numbers stored as text. Imported data often looks numeric but is stored as text. Use the autocomplete-built function name to check the tooltip, or wrap the value in VALUE() to convert it first.
Tips
Use cell references for the significance when you want to change the rounding step across a whole table — put the step in one labelled cell at the top and reference it with an absolute reference such as $B$1, so filling down keeps pointing at the same place.
Combine CEILING.PRECISE with division for bucketing. =CEILING.PRECISE(A2/15, 1)*15 rounds a time in minutes up to the next quarter hour, and the same pattern works for any size band.
To round up but keep the rounded value as a true step, remember the function returns the multiple itself, not the count of multiples. If you need the number of multiples, divide the result by the significance.
Use FLOOR.PRECISE when you want the opposite behaviour — rounding down to the nearest multiple — so a pair of columns can show a range around a value.
Troubleshooting
#NAME? error. The function name is misspelled or the period is missing. Re-enter it using the autocomplete list rather than typing by hand.
#VALUE! error. One of the arguments is text that cannot be read as a number. Clean the source data or convert it with VALUE().
#N/A error. A referenced cell has an error in it; the error propagates. Click through to the source cell and fix it there.
Results look wrong for negative numbers. This is expected behaviour, not a bug. CEILING.PRECISE rounds up toward positive infinity. Switch to CEILING.MATH or CEILING with the appropriate mode if you need a different direction.
The formula shows instead of a result. The cell is formatted as plain text. Select it, then use Format > Number > Automatic, and re-enter the formula.
Results do not update. Check that the calculation settings have not been changed, and try reloading the sheet in the browser. On mobile, close and reopen the file.
Frequently Asked Questions
What is the difference between CEILING.PRECISE and ROUNDUP?
ROUNDUP rounds to a set number of decimal places, while CEILING.PRECISE rounds to a multiple you define. ROUNDUP(7.2, 0) gives 8; CEILING.PRECISE(7.2, 5) gives 10.
Does CEILING.PRECISE always round up?
Yes — it rounds toward positive infinity. For a value already sitting exactly on a multiple, it returns that value unchanged.
What happens if I leave out the significance?
It defaults to 1, so the function rounds up to the next whole number: CEILING.PRECISE(3.1) returns 4.
Can I use it on a whole column at once?
Yes, with ARRAYFORMULA: =ARRAYFORMULA(CEILING.PRECISE(A2:A100, 5)) fills the results for the whole range in one go.
Why does a negative significance give an unexpected result?
The function uses the absolute value of significance and still rounds toward positive infinity, so CEILING.PRECISE(-4.3, -2) gives 6. Use CEILING.MATH if you need control over the direction.
Is it available on the mobile app?
Yes, the function works identically in the Google Sheets app on Android and iOS. Menu labels for number formatting can differ slightly by version and device.