Formula

  • Thread starter Thread starter Rover
  • Start date Start date
R

Rover

I need some help, as I have not able to come up with a formula. Any
assistance would be greatly appreciated...

So lets say you have a value in cell A1...I need a formula in cell B1
calculating based on the value of cell A1 with the folowing conditions...If
the value of A1 is less than 500, I need to multiply it by 40%; if the value
of A1 is between 500 and 750, I need to multiply it by 35%; if the value is
between 750 and 1000 need to multiply it by 30% and if its greater than 1000,
then multiply it by 20%...

Thanks for the Help...Fred
 
I need some help, as I have not able to come up with a formula. Any
assistance would be greatly appreciated...

So lets say you have a value in cell A1...I need a formula in cell B1
calculating based on the value of cell A1 with the folowing conditions...If
the value of A1  is less than 500, I need to multiply it by 40%; if the value
of A1 is between 500 and 750, I need to multiply it by 35%; if the value is
between 750 and 1000 need to multiply it by 30% and if its greater than 1000,
then multiply it by 20%...

Thanks for the Help...Fred
You may want to play around with the >= and <=. Less than or equal
2. If there is 750 in 2 of the conditions it coudl throw some weird
results. So you should chose if it is in the first condition or the
second. Here is a formual I came up with to do what you had
proposed.
=IF(A1<500,A1*.4,IF(AND(A1=>500,A1=<750)=TRUE,A1*.
35,IF(AND(A1>750,A1=<1000)=TRUE,A1*.2)))
Jay
 
Thanks Brad...How do I calculate for greater than and smaller than...ie: if
its greater than 500 but less than 750...
 
The if statement provided takes care of the greather than (or equal to) 500
and less than 750.

HTH
 
What you asked for (and got) was for A1<500 to give 40%. The 35% then
applies for A1>=500 and <750.
[If you want the A1 to be for >500, rather than >=500, you can change the
40% criterion to <=500 instead of <500, but if you want a different result
to apply for A1=500 (i.e. not the same as for <500 or for >500), then you'll
need to specify that result.]

Have you tried the formula you were given?
 
Is there another way of doing it? The reason I ask is because I inserted the
formula and set-up a 'check' to make sure the numbers were right, but some
were not...
 
Can you provide an example where this doesn't work and I can help you more...

I tested it and it does work - my results

Original Modified
Number number multiplier
200 80 0.4
400 160 0.4
600 210 0.35
800 240 0.3
1000 200 0.2
1200 240 0.2
 
Thanks very much...both formulas work...I tried the first suggestion three
times before it would work, not really sure why...the second also worked when
i changed the criteria to the numbers to was using...thanks again...
 
You're very welcome, sometimes getting the syntax correct can be difficult.
One thing that you could do is to answer yes to the question that reads
something like "Did this post answer the question?"

I'd appreciate it.....
 
Alternative to the "IF"'s

=LOOKUP(A1,{0,501,751,1001},{0.4,0.35,0.3,0.2})*A1


Gord Dibben MS Excel MVP
 
Gord,

Question for you, using your formula - if the values aren't integers and
could be negative would you do this?
=LOOKUP(C9,{-9.99999999999999E+99,500,750,1000},{0.4,0.35,0.3,0.2})*C9

or would do something else?
 
Do you have a few examples of values that aren't integers and are negative.

I'm not sure what you're asking.


Gord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top