How to Use the ROUND Function in Excel
In this article
Rounding a number in Excel truncates it to a specific number of decimal places, which is essential for financial reports, inventory counts, and standardized data entry. To round a number, type =ROUND(number, num_digits) into a cell, where number is the value to round and num_digits determines the precision. For example, =ROUND(4.567, 2) returns 4.57. Rounding functions are built into all modern versions of Excel for Windows, Mac, and the web.
What You'll Need
- A computer with Microsoft Excel installed (2010 or later for full functionality).
- The data you wish to round, typically found in a worksheet.
- Basic familiarity with cell references (e.g., A1) and typing formulas.
Step-by-Step
- Select the cell where you want the rounded result to appear. This is where Excel will display the final number. You can click directly on the cell with your mouse or navigate to it using the arrow keys.
- Begin typing the equals sign (=). This signals to Excel that you are entering a formula rather than just text. Do not type any spaces before the equals sign.
- Type the word ROUND. The formula will not work until you type the name of the function. After typing "ROUND", press the Tab key on your keyboard. This automatically adds the opening parenthesis "(" and places your cursor inside it, ensuring the syntax is correct.
- Enter the number to be rounded. You have two options here. You can type the actual number, such as 123.456, or you can click on a different cell that contains the number you want to round (e.g., A1). If you click a cell, Excel will display the reference (like A1) instead of the number itself.
- Enter a comma. The ROUND function requires two arguments separated by a comma. The first is the number; the second is the number of digits. Press the comma key on your keyboard after you have finished entering the number or cell reference.
- Specify the number of digits. This second argument tells Excel how precise you want the result to be. Type a positive integer for decimal places (e.g., 0 for whole numbers, 2 for cents) or a negative integer for rounding to the left of the decimal point. For example, type 0 to round to the nearest whole number.
- Close the parenthesis and press Enter. Press the closing parenthesis key ")" to close the function. The formula is now complete. Press Enter to apply it. Excel will calculate the result and display the rounded number in the selected cell.
Common Mistakes
A common error is confusing the number of digits with the number of places. When rounding to two decimal places, you must type 2, not 0.02. Another frequent issue occurs when copying the formula to other cells. If the original number is a text string (e.g., typed as "50" without a number format), Excel may return a #VALUE! error. Ensure the source data is actually a numeric value before applying the function.
Tips
- Use negative numbers for whole units. To round a price like 123.456 to the nearest dollar, use =ROUND(A1, -1). This is often more practical than using =ROUND(A1,0) when dealing with inventory or bulk pricing.
- Combine with formatting. Rounding changes the actual value stored in the cell. If you only want to display the rounded number without changing the underlying data, use the Number Format dropdown (e.g., Accounting or Currency) instead of the function.
- Check for hidden decimals. Sometimes a number appears to be 1.1 but is actually 1.1000001. Rounding it to one decimal place will yield 1.1, but adding it to another number might show 2.2 instead of 2.1 due to this precision error.
Troubleshooting
If your formula returns #NAME?, you likely misspelled "ROUND" or forgot to type the equals sign at the beginning. If you see #VALUE!, check that the cell referenced in the first argument contains a number. If you get the wrong result, verify that the num_digits argument is correct. Remember that Excel uses "round half to even" logic, which can cause results to differ from standard rounding in rare edge cases.
Frequently Asked Questions
Can I round up or down instead of to the nearest number?
Yes, Excel has specific functions for this. Use the ROUNDUP function to always round a number away from zero (e.g., ROUNDUP(2.1,0) returns 3). Use the ROUNDDOWN function to always round a number toward zero (e.g., ROUNDDOWN(2.9,0) returns 2).
Why does =ROUND(2.5,0) return 2?
This is due to Excel's "Banker's Rounding" method, which rounds to the nearest even number. While this is the standard for statistical accuracy, it can be surprising. If you need strict rounding away from zero, use the ROUNDUP function instead.
How do I round a number to the nearest 10 or 100?
Use a negative number for the num_digits argument. To round to the nearest 10, use =ROUND(A1, -1). To round to the nearest 100, use =ROUND(A1, -2), and so on.
What is the difference between ROUND and INT?
The INT function simply truncates the decimal portion, effectively rounding down towards zero. The ROUND function actually calculates the nearest value. For example, INT(4.9) returns 4, but ROUND(4.9,0) returns 5.
Does the ROUND function work on dates?
No. The ROUND function only works with numeric values. If you try to use it on a date, it will return a #VALUE! error because dates are stored as serial numbers in Excel.