Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I know this is a simple one for you guys, but i just cant see it..
My dollar amount equals $1.17 and i want to round up to 1.20. I have tried Ceiling & round & roundup with no luck.. =D28/L3+L35 (this is my formula so far) Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You gave a limited example, but if you want to get to the nearest 10 cents:
? application.Round(1.17,1) 1.2 so =round(D28/L3+L35,1) and format the cell for two decimal places. -- Regards, Tom Ogilvy "Chev320" wrote: I know this is a simple one for you guys, but i just cant see it.. My dollar amount equals $1.17 and i want to round up to 1.20. I have tried Ceiling & round & roundup with no luck.. =D28/L3+L35 (this is my formula so far) Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe this:
=CEILING(D28/L3+L35,0.1) HTH, Paul "Chev320" wrote in message ... I know this is a simple one for you guys, but i just cant see it.. My dollar amount equals $1.17 and i want to round up to 1.20. I have tried Ceiling & round & roundup with no luck.. =D28/L3+L35 (this is my formula so far) Thanks |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this:
=ROUND(D28/L3+L35,2) If that doesn't work, try expanding the number of decimals that you are looking at so you have a better idea of what the number really is. -Cory "Chev320" wrote: I know this is a simple one for you guys, but i just cant see it.. My dollar amount equals $1.17 and i want to round up to 1.20. I have tried Ceiling & round & roundup with no luck.. =D28/L3+L35 (this is my formula so far) Thanks |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Let me save the OP some time. In my experience, rounding two decimal places
to two decimal places doesn't do anything - a third decimal place would need to be involved. Cory, if you tested it and it seemed to work, maybe you had your cell formatted to display one decimal place. -- Regards, Tom Ogilvy "Cory" wrote: Try this: =ROUND(D28/L3+L35,2) If that doesn't work, try expanding the number of decimals that you are looking at so you have a better idea of what the number really is. -Cory "Chev320" wrote: I know this is a simple one for you guys, but i just cant see it.. My dollar amount equals $1.17 and i want to round up to 1.20. I have tried Ceiling & round & roundup with no luck.. =D28/L3+L35 (this is my formula so far) Thanks |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Tom - good catch. My earlier post had a typo, it should have been
=ROUND(D28/L3+L35,1) "Tom Ogilvy" wrote: Let me save the OP some time. In my experience, rounding two decimal places to two decimal places doesn't do anything - a third decimal place would need to be involved. Cory, if you tested it and it seemed to work, maybe you had your cell formatted to display one decimal place. -- Regards, Tom Ogilvy "Cory" wrote: Try this: =ROUND(D28/L3+L35,2) If that doesn't work, try expanding the number of decimals that you are looking at so you have a better idea of what the number really is. -Cory "Chev320" wrote: I know this is a simple one for you guys, but i just cant see it.. My dollar amount equals $1.17 and i want to round up to 1.20. I have tried Ceiling & round & roundup with no luck.. =D28/L3+L35 (this is my formula so far) Thanks |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Actually i am trying to make the dollar amount go up to the next nearest
nickel. When i tried the ceiling function it went up more that what i wanted it to. The 1.17 should be 1.20 and another line was 1.13, should be 1.15. Does that explain better? Thanks again "Chev320" wrote: I know this is a simple one for you guys, but i just cant see it.. My dollar amount equals $1.17 and i want to round up to 1.20. I have tried Ceiling & round & roundup with no luck.. =D28/L3+L35 (this is my formula so far) Thanks |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Actually i am trying to make the dollar amount go up to the next nearest
nickel. When i tried the ceiling function it went up more that what i wanted it to. The 1.17 should be 1.20 and another line was 1.13, should be 1.15. Are you saying this doesn't work for you... =CEILING(A1,0.05) where the amount being rounded is assumed to be in A1? Rick |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Nickel?
"Chev320" wrote: Actually i am trying to make the dollar amount go up to the next nearest nickel. When i tried the ceiling function it went up more that what i wanted it to. The 1.17 should be 1.20 and another line was 1.13, should be 1.15. Does that explain better? Thanks again "Chev320" wrote: I know this is a simple one for you guys, but i just cant see it.. My dollar amount equals $1.17 and i want to round up to 1.20. I have tried Ceiling & round & roundup with no luck.. =D28/L3+L35 (this is my formula so far) Thanks |
#10
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
#11
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thany you Rick that worked!!!!!!!
"Rick Rothstein (MVP - VB)" wrote: Nickel? http://en.wikipedia.org/wiki/Nickel_(United_States_coin) Rick |
#12
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It would have been clearer if you said round up to the next nickel. The
nearest nickel for 1.11 is 1.10. The next nickel is 1.15. So next nearest nickel is a bit ambiguous. My opinion of course. -- Regards, Tom Ogilvy "Chev320" wrote: Thany you Rick that worked!!!!!!! "Rick Rothstein (MVP - VB)" wrote: Nickel? http://en.wikipedia.org/wiki/Nickel_(United_States_coin) Rick |
#13
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It would have been clearer if you said round up to the next nickel. The
nearest nickel for 1.11 is 1.10. The next nickel is 1.15. He said that, sort of, when he posted... "My dollar amount equals $1.17 and i want to round up to 1.20" as 1.15 would be the nearest to 1.17, but he said "round up" and his example did show the rounded up (not nearest) value of 1.20. Rick |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ROUNDING FORMULA =ROUND(B12/$B$10,1) ROUNDING TO HIGH | Excel Worksheet Functions | |||
I need a formula with rounding up & rounding down to the nearest . | Excel Worksheet Functions | |||
rounding a formula in a cell, then replace the formula | Excel Programming | |||
rounding a formula in a cell, then replace the formula | Excel Programming | |||
formula for rounding | Excel Programming |