Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() "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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reusing formula | Excel Discussion (Misc queries) | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions |