try putting that statement in notepadd++ or something.
there seems to be an extra comma after earth preparation = yes.
if (condition, do when true, do all the other times)
you have if(condition, something, completed, incomplete)
it maybe should have thrown you a syntax error but then again when you copy and paste into the forum it doesn't always do it correctly.
if all fails, just try to use the condition editor for a display condition, then switch to advance editor, copy, paste into the calculate condition