M
Marc
C10+C21+H10-H21 is not equal to (C10+C21)-(H10+h21)
True. The addition operator (+) and the subtraction operator (-)
have the same precedence in XL, so they are evaluated
stepwise left to right:
=C10+C21+H10-H21
is equivalent to
=(C10+C21)+H10-H21
is equivalent to
=((C10+C21)+H10)-H21
...To achieve your second example, you need to use parentheses.