@ mehmetcik I think you have a reference wrong there?
=IF(AND(B2<7
B2 contains letter, I think you meant A2?