Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Chris Short
 
Posts: n/a
Default Formatting 100's and 1000's

Is there a format for displaying numbers rounded to the nearest 10, and
numbers in the 1000s (upto 9999) to the nearest 100?

For example display 874 as 870 and display 8765 as 8 800.

I know about commas and "000" for thousands and millions (eg using ###,
"000" to format 123456 as 123 000).

But I've been unable to discover any information for doing something similar
to tens and hundreds.

cheers,
Christopher


  #2   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi Chris

One way would be
=IF(A1<1000,FLOOR(A1,10),FLOOR(A1,100))

--
Regards
Roger Govier
"Chris Short" wrote in message
...
Is there a format for displaying numbers rounded to the nearest 10, and
numbers in the 1000s (upto 9999) to the nearest 100?

For example display 874 as 870 and display 8765 as 8 800.

I know about commas and "000" for thousands and millions (eg using ###,
"000" to format 123456 as 123 000).

But I've been unable to discover any information for doing something
similar to tens and hundreds.

cheers,
Christopher



  #3   Report Post  
Chris Short
 
Posts: n/a
Default

thanks Greg, but I was after a format, not a function to redo the data.

cheers,
Christopher


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"