#1   Report Post  
Alex
 
Posts: n/a
Default rounding again

Sorry, I've finished the previous posting. Jason gave a great formula. Thanks
very much.

But, I've just found two exceptions.

When it's 28.50 it gives us 28.45 but we need the same 28.50,
and when it's 30.45 it gives us 30.50 but we need the same 30.45.

Could we fix it somehow?

Thanks
--------------------------------------
=ROUNDUP(A1/0.05,0)*0.05

HTH
Jason
Atlanta, GA

-----Original Message-----
I need to do the following rounding in the column where

the data obtained
from calculations:
61.4111 to 61.45
68.632 to 68.65
85.85015 to 85.85
33.68 to 33.70

So, the second digit should be 0 or 5. If the second

digit was 5 it should
remain 5, if 0 and <= 5 and it should be 5, if 5 the

second digit should
be 0 but the first digit will be by 1 more.

Could anybody advise what kind of formula could I use

here?

Thanks in advance.


  #2   Report Post  
Alex
 
Posts: n/a
Default

Sorry, guys.
I've analyzed it ones again. It looks like everything is Ok.

Thanks

"Alex" wrote:

Sorry, I've finished the previous posting. Jason gave a great formula. Thanks
very much.

But, I've just found two exceptions.

When it's 28.50 it gives us 28.45 but we need the same 28.50,
and when it's 30.45 it gives us 30.50 but we need the same 30.45.

Could we fix it somehow?

Thanks
--------------------------------------
=ROUNDUP(A1/0.05,0)*0.05

HTH
Jason
Atlanta, GA

-----Original Message-----
I need to do the following rounding in the column where

the data obtained
from calculations:
61.4111 to 61.45
68.632 to 68.65
85.85015 to 85.85
33.68 to 33.70

So, the second digit should be 0 or 5. If the second

digit was 5 it should
remain 5, if 0 and <= 5 and it should be 5, if 5 the

second digit should
be 0 but the first digit will be by 1 more.

Could anybody advise what kind of formula could I use

here?

Thanks in advance.


  #3   Report Post  
N Harkawat
 
Posts: n/a
Default

use
=CEILING(--(LEFT(A1,SEARCH(".",A1)+2)),0.05)
That way 85.85015 remailns 85.85 and not 85.90

"Alex" wrote in message
...
Sorry, I've finished the previous posting. Jason gave a great formula.

Thanks
very much.

But, I've just found two exceptions.

When it's 28.50 it gives us 28.45 but we need the same 28.50,
and when it's 30.45 it gives us 30.50 but we need the same 30.45.

Could we fix it somehow?

Thanks
--------------------------------------
=ROUNDUP(A1/0.05,0)*0.05

HTH
Jason
Atlanta, GA

-----Original Message-----
I need to do the following rounding in the column where

the data obtained
from calculations:
61.4111 to 61.45
68.632 to 68.65
85.85015 to 85.85
33.68 to 33.70

So, the second digit should be 0 or 5. If the second

digit was 5 it should
remain 5, if 0 and <= 5 and it should be 5, if 5 the

second digit should
be 0 but the first digit will be by 1 more.

Could anybody advise what kind of formula could I use

here?

Thanks in advance.




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
Rounding numbers up or down boyshanks Excel Discussion (Misc queries) 13 April 8th 09 03:03 PM
Banker's Rounding - need help! Somecallmejosh Excel Discussion (Misc queries) 3 January 20th 05 09:53 PM
Can I stop rounding in excel? Jmadden Excel Discussion (Misc queries) 4 January 12th 05 05:48 PM
How do I make Excel stop rounding off my numbers that are 16 digi. Aida Excel Discussion (Misc queries) 1 December 6th 04 04:34 PM
Price rounding - exception formula required Alex McCourty Excel Worksheet Functions 2 November 6th 04 08:33 AM


All times are GMT +1. The time now is 12:33 AM.

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"