How to Put Round Off Formula in Excel
In this article
To round off numbers in Excel, use the ROUND function: type =ROUND(number, num_digits) in a cell, replacing number with the value or cell reference and num_digits with the number of decimal places you want. For example, =ROUND(3.14159, 2) returns 3.14. This works in Excel for Microsoft 365, Excel 2019, 2016, and most earlier versions; menu labels can differ slightly by version and region, but the function name and syntax are consistent.
What You'll Need
- Excel installed on your computer (Windows or Mac) or access to Excel for the web.
- A worksheet with numbers you want to round, or you can type numbers directly into the formula.
- Basic familiarity with entering formulas (starting with an equals sign).
Step-by-Step
- Open your Excel workbook and click the cell where you want the rounded result to appear.
- Type an equals sign (
=) to start the formula. - Type
ROUND((all caps is not required; Excel accepts lowercase). - Enter the number or cell reference you want to round. For example,
A1if the value is in cell A1, or a literal number like123.456. - Type a comma (
,) to separate the arguments. - Enter the number of decimal places you want to keep. Use a positive number for digits to the right of the decimal point (e.g., 2 for two decimal places), 0 to round to the nearest whole number, or a negative number to round to the left of the decimal point (e.g., -1 rounds to the nearest ten).
- Type a closing parenthesis (
)) and press Enter. The cell will display the rounded result. - Copy the formula down or across to apply it to other cells. You can drag the fill handle (the small square at the bottom-right of the cell) or copy and paste.
Excel also offers related functions: ROUNDUP always rounds away from zero, ROUNDDOWN always rounds toward zero, MROUND rounds to a specified multiple, and CEILING/FLOOR round up or down to a multiple. The syntax for ROUNDUP and ROUNDDOWN is the same as ROUND.
Common Mistakes
- Forgetting the second argument.
=ROUND(A1)is invalid; you must supply the number of digits, even if it is 0. - Using a negative number of digits incorrectly. A negative value rounds to the left of the decimal point (e.g.,
=ROUND(1234, -2)gives 1200). This is useful but often misunderstood. - Expecting ROUND to change the underlying value. ROUND returns a new value; the original cell remains unchanged. If you need to replace the original, copy the rounded result and use Paste Special > Values.
- Confusing ROUND with cell formatting. Formatting to show fewer decimal places only changes the display, not the stored value. Use ROUND when the actual value matters for further calculations.
- Typing a comma as a decimal separator. In some regions, Excel uses a semicolon (;) as the argument separator and a comma as the decimal mark. If your formula returns an error, check your system's list separator setting.
Tips
- Use
ROUNDwhen you need to eliminate floating-point rounding errors in financial calculations. - To round a range of cells at once, enter the formula in the first cell and drag the fill handle down.
- Combine ROUND with other functions, e.g.,
=ROUND(SUM(A1:A10), 2)to round a total. - If you want to round only for display, use number formatting (Home > Number Format) instead of a formula.
- Remember that
ROUNDrounds half away from zero (e.g., 2.5 becomes 3, -2.5 becomes -3). UseROUNDUPorROUNDDOWNfor directional rounding.
Troubleshooting
- #NAME? error: The function name is misspelled or not available. Check that you typed
ROUNDcorrectly. - #VALUE! error: One of the arguments is not numeric. Ensure the cell reference contains a number, or that you typed a number without text.
- Formula shows as text: The cell may be formatted as Text. Change the format to General or Number, then re-enter the formula.
- Unexpected results: Verify the number of decimal places. For example,
=ROUND(2.675, 2)may return 2.67 due to floating-point representation; this is a known Excel behavior. UseROUNDwith caution for critical precision. - Argument separator error: If your system uses semicolons, type
=ROUND(A1; 2)instead of a comma.
Frequently Asked Questions
What is the difference between ROUND and formatting?
ROUND changes the actual value stored in the cell, while formatting only changes how the value is displayed. Use ROUND when the rounded value will be used in further calculations.
Can I round to the nearest thousand?
Yes, use a negative number for the second argument: =ROUND(A1, -3) rounds to the nearest thousand.
How do I round up or down always?
Use ROUNDUP or ROUNDDOWN with the same syntax as ROUND.
Does ROUND work in Excel for the web?
Yes, the ROUND function is available in Excel for the web and behaves the same as in desktop versions.
Why does ROUND(2.675, 2) give 2.67 instead of 2.68?
This is due to floating-point precision in Excel. The number 2.675 cannot be represented exactly in binary, so it is stored as a value slightly less than 2.675, causing ROUND to round down. To avoid this, use ROUND(ROUND(2.675, 3), 2) or work with integers.
Can I round a whole column at once?
Yes, enter the formula in the first cell and drag the fill handle down to apply it to the rest of the column.