ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Help with a formula (https://www.excelbanter.com/excel-discussion-misc-queries/127048-help-formula.html)

Landman

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

Ron Rosenfeld

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

Dave Peterson

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

Landman

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.


Ron Rosenfeld

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


All times are GMT +1. The time now is 03:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com