ROUND function: Description, Usage, Syntax, Examples and Explanation
What is ROUND function in Excel?
ROUND function is one of the Math and Trig functions in Microsoft Excel that rounds a number to a specified number of digits. For example, if cell A1 contains 23.7825, and you want to round that value to two decimal places, you can use the following formula:
=ROUND(A1, 2)
The result of this function is 23.78.
Syntax of ROUND function
ROUND(number, num_digits)
The ROUND function syntax has the following arguments:
- number: The number that you want to round.
- num_digits: The number of digits to which you want to round the number argument.
ROUND formula explanation
- If num_digits is greater than 0 (zero), then number is rounded to the specified number of decimal places.
- If num_digits is 0, the number is rounded to the nearest integer.
- If num_digits is less than 0, the number is rounded to the left of the decimal point.
- To always round up (away from zero), use the ROUNDUP function.
- To always round down (toward zero), use the ROUNDDOWN function.
- To round a number to a specific multiple (for example, to round to the nearest 0.5), use the MROUNDfunction.
Example of ROUND function
Steps to follow:
1. Open a new Excel worksheet.
2. Copy data in the following table below and paste it in cell A1
Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.
You can adjust the column widths to see all the data, if need be.
Formula | Description | Result |
=ROUND(2.15, 1) | Rounds 2.15 to one decimal place | 2.2 |
=ROUND(2.149, 1) | Rounds 2.149 to one decimal place | 2.1 |
=ROUND(-1.475, 2) | Rounds -1.475 to two decimal places | -1.48 |
=ROUND(21.5, -1) | Rounds 21.5 to one decimal place to the left of the decimal point | 20 |
=ROUND(626.3,-3) | Rounds 626.3 to the nearest multiple of 1000 | 1000 |
=ROUND(1.98,-1) | Rounds 1.98 to the nearest multiple of 10 | 0 |
=ROUND(-50.55,-2) | Rounds -50.55 to the nearest multiple of 100 | -100 |