Thread: subtract
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bernard Liengme
 
Posts: n/a
Default subtract

Hi Henry
Use =IF(A2<"",A2-A1,"")
If A2 is not empty, then do the subtraction, else do nothing. The "" are
two double quotes, aka 'speech signs"
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"henryshuttle" wrote in message
...
I have cell A1 and Cell A2.
A1=5
A2=no value yet.

I want to be able to type in a value in A2 that already has a formula
which
subtracts A1 from the value I typed in.
Example,
A1=5. When I type 15 in A2, I want to see the result of 10 in A2(hence the
difference of A2-A1)