I want to do something along the lines of this:

Hope fully being able to do this with as many if statements as I wish.

Basically my question is, once I've defined a formula variable, is there a way I can edit or update it.

Cheers for any help!

Var Number MyVariable = [MyField]

If ([AnotherField]=True, $MyVariable==$MyVariable * 2 ) If ([YetAnotherField]=True, $MyVariable==$MyVariable * 4)

Hope fully being able to do this with as many if statements as I wish.

Basically my question is, once I've defined a formula variable, is there a way I can edit or update it.

Cheers for any help!