Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Need help with rounding
I have a rounding question. i need to do the following:
Round: $#.00 - $#.09 round up to $#.09 $#.10 - $#.49 round up to $#.49 $#.50 - $#.99 round up to $#.99 Examples: 11.05 would round to 11.09 25.36 would round to 25.49 5.60 would round to 5.99 Is there a way to do this? Thank you! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Need help with rounding
=IF(MOD(A1,1)<=0.09,INT(A1)+0.09,IF(MOD(A1,1)<=0.4 9,INT(A1)+0.49,INT(A1)+0.99))
Note that you didn't specify what happens to inputs between 0.09 and .10, between .49 and .50, and between .99 and .00. -- David Biddulph "SUSAN" wrote in message ... I have a rounding question. i need to do the following: Round: $#.00 - $#.09 round up to $#.09 $#.10 - $#.49 round up to $#.49 $#.50 - $#.99 round up to $#.99 Examples: 11.05 would round to 11.09 25.36 would round to 25.49 5.60 would round to 5.99 Is there a way to do this? Thank you! |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Need help with rounding
Hi Susan
With the number in A1 try this formula in B1: =IF(A1-INT(A1)<=0.09,INT(A1)+0.09,IF(A1-INT(A1)<=0.49,INT(A1)+0.49,INT(A1)+0.99)) Regards, Per "SUSAN" skrev i meddelelsen ... I have a rounding question. i need to do the following: Round: $#.00 - $#.09 round up to $#.09 $#.10 - $#.49 round up to $#.49 $#.50 - $#.99 round up to $#.99 Examples: 11.05 would round to 11.09 25.36 would round to 25.49 5.60 would round to 5.99 Is there a way to do this? Thank you! |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Need help with rounding
Couple of way to do this
=if(mod(a1,1)<=.09,int(a1)+.09,if (mod(a1,1)<=.49,int(a1)+.49,int(a1)+.99)) would be the way I'd do it. "SUSAN" wrote: I have a rounding question. i need to do the following: Round: $#.00 - $#.09 round up to $#.09 $#.10 - $#.49 round up to $#.49 $#.50 - $#.99 round up to $#.99 Examples: 11.05 would round to 11.09 25.36 would round to 25.49 5.60 would round to 5.99 Is there a way to do this? Thank you! |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Need help with rounding
Thank you so much, exactly what we needed!
"David Biddulph" wrote: =IF(MOD(A1,1)<=0.09,INT(A1)+0.09,IF(MOD(A1,1)<=0.4 9,INT(A1)+0.49,INT(A1)+0.99)) Note that you didn't specify what happens to inputs between 0.09 and .10, between .49 and .50, and between .99 and .00. -- David Biddulph "SUSAN" wrote in message ... I have a rounding question. i need to do the following: Round: $#.00 - $#.09 round up to $#.09 $#.10 - $#.49 round up to $#.49 $#.50 - $#.99 round up to $#.99 Examples: 11.05 would round to 11.09 25.36 would round to 25.49 5.60 would round to 5.99 Is there a way to do this? Thank you! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I need a formula with rounding up & rounding down to the nearest . | Excel Worksheet Functions | |||
ROUNDING UP | New Users to Excel | |||
Trying Rounding | Excel Discussion (Misc queries) | |||
Rounding | Excel Discussion (Misc queries) | |||
rounding help | Excel Discussion (Misc queries) |