Question : Excel 207 question - formula

I have a formula question.
=(IF(AND(W49>=25,W49<50),V49*0.95,V49))  this formula works...do I want to add another condition to it to make this
=(IF(AND(W49>=25,W49<50),V49*0.95,V49),(IF(AND(W49>=50,W49<75),V49*0.9,V49)))  this does not work.  So my question is how do I add a formual to a formual.

Answer : Excel 207 question - formula

another clause in the IF function, i.e.

=IF(AND(W49>=25,W49<50),V49*0.95,IF(AND(W49>=50,W49<75),V49*0.9,IF(W49>=75,V49*0.85,V49)))

or a small addition to LOOKUP

=LOOKUP(W49,{0,25,50,75;1,0.95,0.9,0.85})*V49

barry
Random Solutions  
 
programming4us programming4us