Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Rounding up or down depending on number

Would anyone know a formula for the following?

What formula would round down if the tens of thousands in a number is less
then 10,000.00 or round up if over 10,000.00? For example if cell A250 equals
506,789.90 the cell would read 506,000.00 but A250 equals 511,782.90 the cell
would read 512,000?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Rounding up or down depending on number

Surely the first one would round up also, to 507,000.00 ?

Try this:

=ROUND(A1,-3)

Hope this helps.

Pete

On Mar 26, 2:45*pm, JNAP101 wrote:
Would anyone know a formula for the following?

What formula would round down if the tens of thousands in a number is less
then 10,000.00 or round up if over 10,000.00? For example if cell A250 equals
506,789.90 the cell would read 506,000.00 but A250 equals 511,782.90 the cell
would read 512,000?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Rounding up or down depending on number

Try this:

=ROUND(A250,-3)

Does that help?

--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"JNAP101" wrote in message
...
Would anyone know a formula for the following?

What formula would round down if the tens of thousands in a number is less
then 10,000.00 or round up if over 10,000.00? For example if cell A250
equals
506,789.90 the cell would read 506,000.00 but A250 equals 511,782.90 the
cell
would read 512,000?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Rounding up or down depending on number

Hi Pete, Thanks for the quick response!! That's the problem if the
"thousands" is less than 10k they want the number to round down and round up
if over 10.0k.

I totally stuck on what formula would work.

"Pete_UK" wrote:

Surely the first one would round up also, to 507,000.00 ?

Try this:

=ROUND(A1,-3)

Hope this helps.

Pete

On Mar 26, 2:45 pm, JNAP101 wrote:
Would anyone know a formula for the following?

What formula would round down if the tens of thousands in a number is less
then 10,000.00 or round up if over 10,000.00? For example if cell A250 equals
506,789.90 the cell would read 506,000.00 but A250 equals 511,782.90 the cell
would read 512,000?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Rounding up or down depending on number

=IF(MOD(A250,100000)<10000,ROUNDDOWN(A250,-3),ROUNDUP(A250,-3))
--
David Biddulph

"JNAP101" wrote in message
...
Would anyone know a formula for the following?

What formula would round down if the tens of thousands in a number is less
then 10,000.00 or round up if over 10,000.00? For example if cell A250
equals
506,789.90 the cell would read 506,000.00 but A250 equals 511,782.90 the
cell
would read 512,000?





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Rounding up or down depending on number

Ah, I see what you mean now. David seems to have cracked it.

Pete

On Mar 26, 3:08*pm, JNAP101 wrote:
Hi Pete, Thanks for the quick response!! That's the problem if the
"thousands" is less than 10k they want the number to round down and round up
if over 10.0k.

I totally stuck on what formula would work.



"Pete_UK" wrote:
Surely the first one would round up also, to 507,000.00 ?


Try this:


=ROUND(A1,-3)


Hope this helps.


Pete


On Mar 26, 2:45 pm, JNAP101 wrote:
Would anyone know a formula for the following?


What formula would round down if the tens of thousands in a number is less
then 10,000.00 or round up if over 10,000.00? For example if cell A250 equals
506,789.90 the cell would read 506,000.00 but A250 equals 511,782.90 the cell
would read 512,000?- Hide quoted text -


- Show quoted text -


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional number depending on image name [email protected] Excel Discussion (Misc queries) 0 January 2nd 07 01:07 PM
Display number of day of month depending on the year Dn_ Excel Discussion (Misc queries) 1 May 24th 06 05:36 PM
Function or number depending on input Jan Jansens Excel Worksheet Functions 7 September 7th 05 12:40 PM
Copy a number from one cell to another depending on first number marcia driscoll Excel Worksheet Functions 3 May 3rd 05 08:30 PM
Rounding a number to a multiple quantity that adds to a fixed total number wjlo Excel Worksheet Functions 1 November 9th 04 04:43 PM


All times are GMT +1. The time now is 03:28 PM.

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

About Us

"It's about Microsoft Excel"