CEILING(value, [factor])One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
value:
The numeric value that you want to round up to the nearest multiple of the specified factor.
factor:
The multiple to which you want to round the value. If omitted, the default is 1.
The CEILING function in Google Sheets is a mathematical function used to round a number up to the nearest multiple of a specified significance. This function is particularly useful when you need to ensure that a number meets certain criteria, such as rounding up to the nearest whole number, multiple of 5, or any other specified value.
In simpler terms, CEILING allows you to round numbers in a way that always moves them up to the next highest value based on the significance you define.
Imagine you are managing a budget for a project and need to round up expenses to the nearest dollar or a specific increment.
| Item | Cost |
|---|---|
| Supplies | 23.45 |
| Equipment | 12.99 |
| Travel | 45.75 |
You want to round up each cost to the nearest whole dollar for easier budgeting.
To achieve this, you would use the CEILING function as follows:
=CEILING(B2, 1)In this formula:
B2 is the cell containing the cost you want to round up.1 is the significance to which you want to round up (in this case, to the nearest whole dollar).When you apply the CEILING formula to the Expenses Table, the output would look like this:
| Item | Cost | Rounded Cost |
|---|---|---|
| Supplies | 23.45 | 24 |
| Equipment | 12.99 | 13 |
| Travel | 45.75 | 46 |
As you can see, each cost has been rounded up to the nearest whole dollar.
If you wanted to round up to the nearest multiple of 5 instead, you would adjust the formula like this:
=CEILING(B2, 5)CEILING is beneficial because it provides a straightforward way to ensure that numbers meet specific criteria without the need for complex calculations. It is particularly useful in financial scenarios where rounding up can help with budgeting, pricing, and forecasting.
CEILING is an essential function for anyone working with numerical data in Google Sheets, providing a powerful way to enhance data accuracy and reporting capabilities.
Happy spreadsheeting!
You have a budget table where Column A lists expenses and Column B shows the allocated budget. Use the CEILING formula to round up expenses to the nearest hundred, ensuring that your budget calculations are always in whole hundreds for easier financial planning.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.