Any way to round to denominations of 5000 using number format code

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'ld like to have numbers be shown as rounded to the nearest 5000.

Thus, if a cell has the value 92,345, I would like it to show 92,000. I
want to do this with the format codes...and NOT with a worksheet fxn if at
all possible.

Also, is there any way to modify this so that it would always round up or
down?

Thanks.
 
I'ld like to have numbers be shown as rounded to the nearest 5000.

Thus, if a cell has the value 92,345, I would like it to show 92,000. I
want to do this with the format codes...and NOT with a worksheet fxn if at
all possible.

Also, is there any way to modify this so that it would always round up or
down?

Thanks.

Hmmm. 92,345 rounded to the nearest 5000 would be 90,000, not 92,000.

In any event, using number formatting, you can round to the nearest thousand,
but I know of no way to round to the nearest 5,000.

If you want to show the result rounded to the nearest thousand, then the custom
format #,"000" should do it.


--ron
 
Ron said:
Hmmm. 92,345 rounded to the nearest 5000 would be 90,000, not 92,000.

In any event, using number formatting, you can round to the nearest thousand,
but I know of no way to round to the nearest 5,000.

If you want to show the result rounded to the nearest thousand, then the custom
format #,"000" should do it.


--ron
My mistake....92,345 -> 90,000.

Yeah, I know how to do to do nearest thousand...but I was hoping there
was a way to stretch this capability a little.

Thanks.
 
Maybe you could insert a helper column with this formula

=ROUND(A1/5000,0)*5000

Then hide the column with the actual data.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top