|
Re: use one instead 2 formulas?
Try...
C2, copied down:
=A2-(A2*IF(B2="1",5,IF(B2="2",2))/100)
I'm not sure why you've formatted the numbers returned by the formula in Column B as text. It could pose a potential problem in some mathematical calculations. You may want to consider the following instead...
B2, copied down:
=IF(A2>119,1,IF(A2>89,2,))
C2, copied down:
=A2-(A2*IF(B2=1,5,IF(B2=2,2))/100)
__________________
Domenic
Microsoft MVP - Excel
xl-central.com, "Your Quick Reference to Excel Solutions"
|