#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Help with a formula

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......
  #2   Report Post  
Posted to microsoft.public.excel.misc
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
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Help with a formula

Maybe you could use:

=CEILING(yourformulahere,0.05)




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......


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Help with a formula



"Ron Rosenfeld" wrote:

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
Many thanks for your time, I was trying to use RND and IF.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Help with a formula

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


--ron



Many thanks for your time, I was trying to use RND and IF.


You're welcome. Glad to help.
--ron
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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


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