Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Rounding Formula

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Rounding Formula

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,311
Default Rounding Formula

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Rounding Formula

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Rounding Formula

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Rounding Formula

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Rounding Formula

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,202
Default Rounding Formula

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Rounding Formula

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,202
Default Rounding Formula

Nickel?

http://en.wikipedia.org/wiki/Nickel_(United_States_coin)

Rick


  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Rounding Formula

Thany you Rick that worked!!!!!!!

"Rick Rothstein (MVP - VB)" wrote:

Nickel?


http://en.wikipedia.org/wiki/Nickel_(United_States_coin)

Rick

  #12   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Rounding Formula

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,202
Default Rounding Formula

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
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 FORMULA =ROUND(B12/$B$10,1) ROUNDING TO HIGH SunshineinFt.Myers[_2_] Excel Worksheet Functions 7 March 5th 09 06:41 PM
I need a formula with rounding up & rounding down to the nearest . Tony Kay Excel Worksheet Functions 3 May 29th 07 11:13 PM
rounding a formula in a cell, then replace the formula Don Guillett[_4_] Excel Programming 0 July 13th 04 03:59 PM
rounding a formula in a cell, then replace the formula Frank Kabel Excel Programming 0 July 13th 04 03:52 PM
formula for rounding Patty Hatridge Excel Programming 2 January 7th 04 08:14 PM


All times are GMT +1. The time now is 10:58 PM.

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"