Hi Joe920,
One solution I can think of is by creating two hidden fields with different operations that runs and sets another field to show a result if a certain condition has been met.
Example:
field A + field B = field E
field C contains the formula A + B
field D contains the formula A - B
Rule 1:
Condition: if field B > X
Action: Set field E to the value of C.
Rule 2:
Condition: if field B < X
Action: Set field E to the value of D.