This will take you to a great many discussions on the unary (--) !
http://tinyurl.com/qvyp
--
HTH,
RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================
Harlan,
Do I replace =A1=A2 in B2 with =--B2?
If so I'm struggling to understand what -- is doing to the formula.
Sorry to be a pain
Alby
----- Harlan Grove wrote: -----
Alby said:
I noticed this formula in a recent post:
Experiment. Put 1 in cell A1 and 0 in cell A2. Enter the formulas
=A1=A1 in
B1 and =A1=A2 in B2. Now enter the formulas =-B1 in C1 and =-B2 in C2.
Next,
enter =--B1 in D1 and =--B2 in C2. Finally, enter =SUM(B1:B2) in B3 and
=SUM(D1

2) in D3.