I'd like to have an cell formula that works like this:
=IF((X=A+B+C)>0,X,A-B-C)
where the value (X) evaluated is the value returned in a true condition, without having to repeat the formula (and cause extra typing and calculation time).
Is there a way to do this in Excel?