This will work on your example:-
=IF(A5<10,0,IF(A5<20,B5*0.3,IF(A519,B5*0.4)))
--
tghcogo
------------------------------------------------------------------------
tghcogo's Profile:
http://www.excelforum.com/member.php...o&userid=10494
View this thread:
http://www.excelforum.com/showthread...hreadid=490750