# Special Rounding formula help

#### Yeti_5

##### New Member
Hello,
I have spreadsheet that has 18 columns containing numbers ranging from 0 to 99,999.99, and I need to round each of these numbers.
What I need to do is as follows:
If #<100 - Then round to nearest Tens place (i.e. 64 would become 60)
If #>100 - Then round to the nearest Hundreds pace (i.e. 348 would become 300)

I know how to create a basic ROUND formula to follow ONE of these rules, however, I need a formula that will follow either rule based on the number.

Is there a certain "IF" formula that would allow me to tackle this?

Any help is greatly appreciated.

Thank you all!!!

### Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

#### AliGW

##### Banned
Try this:

=IF(B1<100,MROUND(B1,10),MROUND(B1,100))

#### Yeti_5

##### New Member
Try this:

=IF(B1<100,MROUND(B1,10),MROUND(B1,100))

PERFECT!
Thanks!

You're welcome!

Replies
4
Views
244
Replies
5
Views
170
Replies
3
Views
346
Replies
12
Views
390
Replies
8
Views
402

1,190,842
Messages
5,983,196
Members
439,828
Latest member
summertime65

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back