Hi,
I want something like VarX1 (MathOpIndex = 1?*:/) VarX2, where MathOpIndex is either 0 or 1, and the value at 0 is *, and the value at 1 is /.
So for example when VarX1 = 3, and VarX2 = 2, and MathOpIndex = 0 then the formula is 3 * 2.
Is there a way to have a single statement to capture this?
Kind Regards,
Jason