So here we are, with calculations that give long decimal results.The value of PI is 3.1415926. But most of our work is done by just 3.14. This is called rounding. Let’s see how we can round the numbers in excel.
Let's say in cell A2 we have 92.45477919. To limit these decimal points you can go to Home Tab? Decrease Decimal and click it until you reach your desired number of decimals.
Wouldn’t it be easy and time-saving if you can do it with a formula?
Excel provides three formulas for Rounding Numeric numbers:
|ROUND (value, num of decimal digits)||ROUNDUP(value, num of decimal digits)||ROUNDDOWN (value, num of decimal digits)|
Examples will make it easy.
The round function simply limits decimal value. It takes two arguments. First the value (the number that needs to be rounded) and second the number of decimals.
For example here in Cell A2, I have a random decimal number generated by RAND() function and then multiplied by 100. Now in Cell B2 I want to have only 1 decimal digit, so I write:
You can see the result in A2 in the below image.
It shows only one digit.
|Pro Note: if the second decimal digit was greater than or equal to 5 than ROUND function would increase the first decimal by 1. You can see it in Cell B4 in the above image.|
Same as the ROUND function of Excel, the ROUNDUP function limits the decimal points shown but it always increases the last decimal digit by one.
This, too, takes two arguments. First the value (the number that needs to be rounded) and second the number of decimals.
Now in Cell C2, I want to have only 1 decimal digit but I want to increase it by one to compensate the leftover digits. So I write this formula in C2:
You can see that the value is rounded (92.5) to one decimal and it is increased by one.
The ROUNDDOWN function just shows the last decimal digit as it is and makes all following decimal digits 0. In short, it prevents the rounding up of a number.
In Cell D2 I have written this formula:
You can see that 92.454779 is now 92.4. Similarly, all numbers in column D are shown as they depend on defined decimal digits.
|Pro Note: This does not decrease the last digit.|
Now you know how to harness control of these decimal digits to your desired number digits. I tried to explain ROUND functions in Excel in the most precise way. These Rounding functions are available in Excel 2016, 2013, 2010 and in older Excel versions.
Let me know if that would be helpful. If your problem is not solved then post it in the comments section.
We like to work on well maintained data. So cleaning and brushing data is the most important part before working with data. Generally, we are stuck at time fields and not able to understand how to round up or round down time values.
How to solve the problem?
To round down time values we use MROUND function. Excel stores time values as numbers. In order to handle these values, we go the basic mathematical formulation as shown below.
time : time value to round
round_to : round to time value
All of these might be confusing to understand. Let's check the formula via running some examples. Here we have a some random time values and we need to round the time values as per given argument. Here we use the formula to round down to nearest 15 minutes.
Use the formula with explanation
Here the time values are provided using cell reference and value to round to be given with quotation marks ("). Press Enter to get the time value.
As you can see the time value is round down to nearest .15 value. Now try the formula with different time values and round values. Make sure to use the time format carefully.
As you can see, these values are rounded down to the mentioned round values. If you wish to round up the time function. Use the CEILING function, to round down the time value.
As you can see, this how you can round up or round down time values using the excel functions.
Retail price = Price / ( 1 + percent )
Sales Tax = retail price * percent = Price - Retail price
ROUND function with financial formulas
ROUND function rounds off the number extracted by formula to the given decimal points.
ROUND Function syntax:
|=ROUND ( price / ( 1 + percent ), 2) ####Retail price|
|= ROUND ( percent * retail , 2 ) ####Sales tax price|
All of these might be confusing to understand. Let's understand how to use the function using an example. Here we will run the formula on some samples. The tax is given = 7.75%
Use the formula:
The retail price for the 100$ price comes to be 92.81$ . Now copy the formula to the other cells using the CTRL + D to the required cell.
As you can see, we got all the retail prices for the total price.
Now we can get the Sales Tax price using the Retail price using the below stated formula.
Use the formula:
Now we see the 7.19$ tax on the 100$ price (92.81 $ retail) amount for a product. Now copy the formula to the other cells using the Ctrl + D shortcut key.
As you can see all the detail prices for the given product price with the formula in the adjacent cell. You can use the ROUNDUP, ROUNDDOWN, CEILING, FLOOR function to round off the number to the required side of the number
Here are all the observational notes using the Round function in Excel
Hope this article about Round a Number in Microsoft Excel is explanatory. Find more articles on date and time formula here. If you liked our blogs, share it with your fristarts on Facebook. And also you can follow us on Twitter and Facebook. We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write to us at email@example.com.
How to use the FLOOR function in Excel | rounds down the number to the nearest specified multiple using the FLOOR function in Excel
How to use the ROUND function in Excel | Rounds off the given number to the nearest num_digit decimal using the ROUND function in Excel
How to use the ROUNDUP function in Excel | Rounds up the given number to the nearest num_digit decimal using the ROUNDUP function in Excel
How to use the ROUNDDOWN function in Excel | Rounds down the given number to the nearest num_digit decimal using the ROUNDDOWN function in Excel
How to use the MROUND function in Excel | rounds off the number to the nearest specified multiple using the MROUND function in Excel.
Popular Articles :
How to use the IF Function in Excel : The IF statement in Excel checks the condition and returns a specific value if the condition is TRUE or returns another specific value if FALSE.
How to use the VLOOKUP Function in Excel : This is one of the most used and popular functions of excel that is used to lookup value from different ranges and sheets.
How to use the SUMIF Function in Excel : This is another dashboard essential function. This helps you sum up values on specific conditions.
How to use the COUNTIF Function in Excel : Count values with conditions using this amazing function. You don't need to filter your data to count specific values. Countif function is essential to prepare your dashboard.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.