Category: FUNCTION | Updated: 2026-11-22

How to Use the CEILING Function in Google Sheets

Syntax

=CEILING(value, [factor])
  • value: The number or cell reference to round up.
  • factor (Optional): The multiple to which value is rounded up. Defaults to 1 if omitted.

Example

Examples such as rounding product orders to dozens or rounding attendance times up to 15-minute increments:

Original Value Formula Result Explanation
25 =CEILING(A2, 12) 36 Rounds up to a multiple of 12 (3 dozen)
1230 =CEILING(A3, 100) 1300 Rounds up to the nearest 100
9:10 =CEILING(A4, "0:15") 9:15 Rounds up to 15-minute increments
-14 =CEILING(A5, -5) -15 Rounds a negative number to a multiple of -5

Common Errors and Notes

  • #NUM! Error: An error occurs if value is positive and factor is negative.
  • #DIV/0! Error: Specifying 0 for factor causes a division-by-zero error.

Frequently Asked Questions

Q. How do I use CEILING to round time up to the nearest 15 minutes?

A. Specify "0:15" as the factor (e.g., =CEILING(A1, "0:15")). This rounds 10:05 up to 10:15.

Q. What happens if value and factor have different signs (positive vs. negative)?

A. If value is positive and factor is negative, a "#NUM!" error occurs. However, if value is negative and factor is positive, the calculation succeeds.