Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 788
Default What do these numbers mean in the rounding formula?


In the formula below how would I change it to round down to the nearest .95
cents. For example, $127.49 would become $126.95?

=MAX(0,ROUND(my forumula to set a price,1)-0.01)

I guess I'm wondering what each number means in the rounding formula.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default What do these numbers mean in the rounding formula?

Somethong like this...

=MAX(0,ROUND(A1,0)-0.05)
--
HTH...

Jim Thomlinson


"Chris" wrote:


In the formula below how would I change it to round down to the nearest .95
cents. For example, $127.49 would become $126.95?

=MAX(0,ROUND(my forumula to set a price,1)-0.01)

I guess I'm wondering what each number means in the rounding formula.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default What do these numbers mean in the rounding formula?

This part:

ROUND(my forumula to set a price,1)

is rounding to the nearest 1 decimal place (i.e. 10 cents if this
represents dollars), and by subtracting 0.01 the rounding is then
to .x9. In your case, you might like to try this:

=ROUND(your_formula_or_value,0)-0.05

which would convert $127.49 to $126.95, but would convert $127.51 to
$127.95.

If you would like both of these to be rounded down, then use:

=ROUNDDOWN(your_formula_or_value,0)-0.05

Hope this helps.

Pete

On Feb 11, 7:08*pm, Chris wrote:
In the formula below how would I change it to round down to the nearest .95
cents. For example, $127.49 would become $126.95?

=MAX(0,ROUND(my forumula to set a price,1)-0.01)

I guess I'm wondering what each number means in the rounding formula.


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 in same formula Tired Excel Worksheet Functions 6 November 17th 08 09:49 AM
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 numbers VPHR Excel Discussion (Misc queries) 4 January 10th 07 05:15 PM
rounding numbers in XL Sean Lambertz Excel Discussion (Misc queries) 4 May 30th 06 10:32 PM
Rounding numbers up or down Jaco Jacobs Excel Discussion (Misc queries) 1 May 2nd 06 01:16 AM


All times are GMT +1. The time now is 12:12 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"