The usage for the if is similar to iif
=if(A1>10,"Yeah it's > 10","Try harder")
=if(A1>10,"Yeah it's > 10",C1)
=if(A1>10,b1,c1)
=if(and(A1>10,b1>10),"Yeah both are > 10","Try harder")
=if(or(A1>10,b1>10),"Yeah at least 1 of the 2 are > 10","Try harder")