ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   rounding to nearest 100 (https://www.excelbanter.com/excel-worksheet-functions/170046-rounding-nearest-100-a.html)

rdwngr23

rounding to nearest 100
 
is there a way to have a cell round to the nearest 100 up and or down?

if i have 4.595 i would like it to round up to 5 but if i change it 4.493 i
would like it to round down to 4.

looking for a formula that would work for both in one cell

Teethless mama

rounding to nearest 100
 
=ROUND(A1,0)

"rdwngr23" wrote:

is there a way to have a cell round to the nearest 100 up and or down?

if i have 4.595 i would like it to round up to 5 but if i change it 4.493 i
would like it to round down to 4.

looking for a formula that would work for both in one cell


Bernard Liengme

rounding to nearest 100
 
"if I have 4.595 I would like it to round up to 5 but if I change it 4.493 I
would like it to round down to 4"
That is NOT rounding to nearest hundred but to nearest integer
With either number in A1 use =ROUND(A1,0)

Rounding to nearest hundred: 123 becomes 100 while 478 becomes 500
Use =ROUND(A1,-2)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"rdwngr23" wrote in message
...
is there a way to have a cell round to the nearest 100 up and or down?

if i have 4.595 i would like it to round up to 5 but if i change it 4.493
i
would like it to round down to 4.

looking for a formula that would work for both in one cell





All times are GMT +1. The time now is 06:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com