If + If + !If

Is it possible to create an

"if condition1 AND condition2 and ! condition 3 "

statement?
I did something like that, it didn’t give any error but it didn’t work.
Is there an other way or is it impossible?

Luster