if-or-and

I had equations in solidworks 2011, I opened the file in SW 2012, I found syntax error in equations

= iif ( "sectionshapepattern@Sketch1" like 3 or "sectionshapepattern@Sketch1"  like 4 , "unsuppressed" , "suppressed" )

= iif ( ( "sectionshapepattern@Sketch1" like 3 ) and ( "numberofpanels@Sketch1" > 1 or "numberofpanels@Sketch1" like 1 ) , "unsuppressed" , "suppressed" )

could you help me with that , how to use ( If - and - or ). and is there is a way that I can use excel instead of solidworks in solving equations, because I have many equations in the model which is reducing the speed of my computer and it takes a lot of time to update the model.

thanks

SolidworksGeneral