So to make this simple. I have Cells A,B,C,D
Cell D = B-C
B is basically apples won, and C is apples lost for explanation purposes. D is net apples.
I want to make it so that I can enter a number of apples won into cell A, and then it will add that number into Cell B, then clear the A or allow me to clear it while retaining Cell B value of B+A.
Thank you
Only with code
If you:
Then cells B1 to B5 will keep a running total of all the corresponding values in A1 to A5. Change this line
Set rng1 = Intersect(Target, Range("A1:A5"))to set the range which the code works on (running totals are added to the immediate right)[updated – for your additional query you could try this]