Rounding Up in Excel
In this article
Rounding up in Excel is done with the ceiling function, which forces a number toward the next highest integer or multiple of a specified unit. This is essential for financial forecasting, inventory planning, or any scenario where you cannot have a partial unit, such as rounding up a number of boxes or the nearest whole dollar. No special software is required; a standard installation of Microsoft Excel (2016 or newer) on a Windows PC or macOS is sufficient.
What You'll Need
- A computer with Microsoft Excel installed (desktop or web version).
- A spreadsheet with at least one numeric value you wish to round up.
- Basic knowledge of spreadsheet navigation (clicking cells and typing).
Step-by-Step
- Select the cell where you want the result. Click on the empty cell where you want the rounded-up number to appear.
- Open the formula bar. Look at the top of the window, next to the word "fx". Click inside this bar to begin typing a formula.
- Type the equals sign. Start typing
=to tell Excel you are entering a calculation. - Enter the function name. Type
CEILINGfollowed by an opening parenthesis(. The cell will show a tooltip suggesting the function. - Reference the number. Click on the cell containing the number you want to round up, or type the number directly (e.g.,
=CEILING(4.2). - Define the significance. Type a comma
,to separate the number from the significance. For rounding up to the nearest whole number, type1. For rounding up to the nearest 5, type5. Your formula should look like=CEILING(4.2, 1)or=CEILING(A1, 1). - Close the parenthesis. Type
)and press Enter on your keyboard. - Verify the result. The cell should now display 5, as 4.2 was rounded up to the nearest whole number.
- Drag the fill handle. To apply this to a list of numbers, click the small square in the bottom-right corner of the result cell and drag it down to cover other cells.
Common Mistakes
One of the most common errors is confusing the ROUND function with CEILING. The ROUND function rounds a number to the nearest value, meaning 4.2 would round down to 4. If you need to ensure a conservative estimate that never underestimates a value, ROUND will not work; you must use CEILING.
Another frequent mistake is failing to include the significance argument. The CEILING function requires two arguments: the number to round and the multiple to round to. If you only type =CEILING(A1), Excel will return a #VALUE! error because it does not know what multiple to round the number to (e.g., nearest 1, 10, or 100).
Tips
When working with negative numbers, the behavior of the ceiling function can be surprising. By default, CEILING rounds numbers away from zero. For example, -4.2 rounded up to the nearest whole number becomes -4. If you need to round negative numbers toward zero (which is mathematically the same as rounding down), you can use the CEILING.MATH function (available in newer versions of Excel) and set the mode argument to 1 (e.g., =CEILING.MATH(-4.2, 1, 1)), which will result in -5.
For financial modeling, rounding up is often used to calculate the total cost of items when you cannot purchase a fraction of an item. For instance, if you are buying 4.5 cases of a product and each case costs $100, using =CEILING(4.5, 1) * 100 will correctly calculate the cost of 5 cases ($500) rather than the $450 you would get if you simply multiplied 4.5 by 100.
Troubleshooting
If your formula returns a #NUM! error, it usually means the sign of the number and the significance do not match. For example, rounding a negative number up to a positive significance will fail. Ensure that the number you are rounding and the significance share the same sign (both positive or both negative).
If you see a #VALUE! error, double-check that you have referenced a cell that contains a valid number. Text values or empty cells cannot be rounded, and typing a number directly into the formula (as a hard value) will work, but referencing a cell is safer for dynamic spreadsheets.
Frequently Asked Questions
How do I round up to the nearest 10?
To round a number to the nearest 10, use the significance argument of 10. For example, =CEILING(123, 10) will return 130.
What is the difference between CEILING and CEILING.MATH?
CEILING.MATH is an updated version that offers more control, specifically for negative numbers. It allows you to force rounding toward zero or away from zero, whereas the standard CEILING always rounds away from zero.
Can I round up time values?
Yes, but you must convert time to a decimal first. Excel stores time as a decimal fraction of a day. To round up to the nearest hour, you can use a formula like =CEILING(A1*24, 1)/24, where A1 is the time cell.
Why does my formula say "#NAME?"?
This error typically means Excel does not recognize the function name. This happens if you are using an older version of Excel (pre-2013) that does not have CEILING.MATH. The standard CEILING function exists in all versions, so ensure you are using that name.
Does CEILING round up or down?
CEILING always rounds up. It moves the number to the next highest integer or multiple. It never rounds down, regardless of whether the decimal is .1 or .9.