# Rounding to 500

#### Andrew G

##### New Member
Hello.
I can use either CEILING or FLOOR to run a number to the nearest 500, but how can I round it up if the last digits are 250 (or 750) and down if less?
Thanks, Andy.

### Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Use Mround(Number,500)

=IF(MOD(A1,500)>=250,CEILING(A1,500),FLOOR(A1,500))

Try:

=ROUND(A1/500,0)*500

Further to my earlier answer you can of course put a cell address into the formula not just hard key the number.

Thank you all. Andy.

Replies
5
Views
96
Replies
10
Views
498
Replies
8
Views
263
Replies
3
Views
133
Replies
10
Views
247

1,196,297
Messages
6,014,530
Members
441,826
Latest member
roudarreza

### 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