Round to the nearest 10,000

eoinymc

Board Regular
Joined
Jan 29, 2009
Messages
203
Hi,

can anyone help me round down to the nearest 10,000

So, if it's 84,000, it'll round to 80,000
If It's 86,000, it'll round to 80,000
etc...

I found this online, but it doesn't work properly past 100,000..it just rounds down to the nearest 100,000 when it gets past 100,000

=ROUNDDOWN(AM41,-INT(LOG(AM41)))

Any ideas how I can modify this to work?

Cheers,

Eoin
 
Jonmo, you're a genius! That's easier to understand than your solution drrellik....but thanks for the help!
 
Upvote 0
Jonmo...just ran into a bit of an issue...

What is my number is negative? It is throwing up an error...

Any ideas?

Thanks,

Eoin
 
Upvote 0
What error?

It doesn't error for me..

If the cell is -18000, then it returns -20000
 
Upvote 0
That's strange...

I have an embedded formula instead of just AM41, so maybe that's the problem.

I'll try to play around with it.

Thanks again...Eoin
 
Upvote 0
Try =FLOOR(AM41, SIGN(AM41)*10000)

FLOOR rounds toward 0, so -18000 will return 10000.
 
Upvote 0

Forum statistics

Threads
1,226,864
Messages
6,193,418
Members
453,798
Latest member
jasonsd

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top