Equation manager, If statement in an If statement

I am new to using the equation manager and I am having some trouble.

I want to put an if statement inside an if statement. I am able to get a single If statement to work but I keep getting a sytax error pop up when i try to embed one in the other.

Is it even possible.

SolidworksGeneral