Can anyone confirm that this is the same as using IF?
Where "this" is the expression in your Subject line, namely:
=E36 - (G51>0)*E20
(In the future, please put everything in the body of your posting,
even if it duplicates your Subject line.)
Yes, that is logically equivalent to both of the following:
=E36 - if(G51>0, E20, 0)
=if(G51>0, E36 - E20, E36)
However there is a subtle difference. In the first form (without
"if"), the "E20" subexpression is always evaluated. In the second two
forms (with "if"), the "E20" subexpression is evaluated only if the
condition (G51>0) is true.
I believe this makes a difference only if "E20" were complicated time-
consuming subexpression, for example one that calls a lookup function
or a complicated user-defined function.
The advantage of the first form (without "if") is that it is one less
nested function call. This is significant for Excel revisions before
2007, which have a limit of 7 nested calls.