View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld Ron Rosenfeld is offline
external usenet poster
 
Posts: 5,651
Default Help with a formula

On Sun, 21 Jan 2007 13:23:21 -0800, Landman
wrote:

Most of my work with Excel is formulas using tvm. I need a macro, and I admit
I'm in over my head on coming up with the right way. If someone has an answer
I would be most appreciative.

I have an item priced at say $5.70. That item is marked up 40%, but becasue
of the program it will be used by, the mark up if it results in $0.01-.05, it
has to be rounded up to $0.05, and if it results in $0.06-0.10, it has to
round up to the next $0.10. Example, $5.70 @40% is $7.98 which would have to
be rounded to $8.00. If the result were $7.94, it needs to be rounded to
$7.95.

Again, any help would be most appreciated.

Thanxs......



=CEILING(A1*1.4,0.05)

--ron