{"id":3932,"date":"2019-01-09T13:10:47","date_gmt":"2019-01-09T13:10:47","guid":{"rendered":"http:\/\/officetuts.net\/excel\/?p=3932"},"modified":"2024-03-30T11:30:10","modified_gmt":"2024-03-30T11:30:10","slug":"round-to-nearest-value","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/formulas\/round-to-nearest-value\/","title":{"rendered":"Round to Nearest Value in Excel"},"content":{"rendered":"\n
Sometimes, displaying a very precise number is not useful and you may want to round the value. But there may be cases when you want to round the number to the specified nearest value and not to the nearest integer.<\/p>\n\n\n\n
The rounding function works like this.<\/p>\n\n\n\n
=ROUND(A2,1)<\/pre>\n\n\n\nIt rounds the value to the nearest float value with a precision of 1.<\/p>\n\n\n\n
This number 12.3456<\/strong> will be displayed as 12.3<\/strong>.<\/p>\n\n\n\n
<\/figure>\n\n\n\nRounding the number to the nearest 10, 100, 1000<\/h2>\n\n\n\n
The simplest way to round numbers to the nearest 10, 100, or 1000, is to add a negative number to the second argument of the ROUND function<\/a>.<\/p>\n\n\n\n
Nearest 10<\/td> =ROUND(A2,-1)<\/td><\/tr> Nearest 100<\/td> =ROUND(A2,-2)<\/td><\/tr> Nearest 1000<\/td> =ROUND(A2,-3)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n Here, are the result of these formulas.<\/p>\n\n\n\n
<\/figure>\n\n\n\nThis works only for the powers of tens: 10, 100, 1000. If you want to do it for 5 or 50, you have to take a different approach.<\/p>\n\n\n\n
Rounding the number to the nearest 5, 10, 50, 100<\/h2>\n\n\n\n
Nearest 5<\/td> =ROUND(A2\/5,0)*5<\/td><\/tr> Nearest 10<\/td> =ROUND(A2\/10,0)*10<\/td><\/tr> Nearest 50<\/td> =ROUND(A2\/50,0)*50<\/td><\/tr> Nearest 100<\/td> =ROUND(A2\/100,0)*100<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n <\/figure>\n\n\n\nYou can use this simple formula to round a number to the nearest value.<\/p>\n\n\n\n
Rounding number to the nearest value – MROUND<\/h2>\n\n\n\n
But there is another function you can use to achieve the same effect – MROUND<\/a>. It gets two parameters: the number and the multiple.<\/p>\n\n\n\n
Nearest 5<\/td> =MROUND(A2,5)<\/td><\/tr> Nearest 10<\/td> =MROUND(A2,10)<\/td><\/tr> Nearest 50<\/td> =MROUND(A2,50)<\/td><\/tr> Nearest 100<\/td> =MROUND(A2,100)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n These formulas will give us the same result as the previous ones.<\/p>\n\n\n\n