How can i set up one more logical test =IF(B3>=$C$2, B3, 0) My condition is B3>=C2 and B3<20000 Thanks a lot.