variable question

P

peyman

hi,
I have c column in my spreadsheet with a formula in it like:=E8+F8-D8 IN C8
CELL.
E8 and F8 are change manually resulting changes in availability(C8) but the
content of D8 comes from another source and it's change off an on.the problem
is ,say E8=10, F8=20 and D8=12 ,so the C8 comes to 18; now when the D8
changes to 8, the C8 changes to 22 but what I need is maintaining the
previous quantity as 18 and after D8 is turned to 8, the new C8 be 10.
I hope I was able to convey my problem clearly to you.
colu. A col. D
col. E col. F
=E8+F8-D8 (=18) =xx(=12)
10 20
=22 but i need (18-8=10) (now if xx=8)

so is there any way to keep the previous qnty constant?!!
thanx for your time.
 
P

peyman

bit,I have a range of cells that I need accumulator for them, so how can I
extend the macro for C4:C1800??
thanx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

#VALUE! Error 3
Figuring 24 Hours Per Day 5
Macro Runtime Error 1004... help? 6
VLOOKUP error 2
help reducing this long nested functuion? 3
Date Calculations as Days 6
revise CONCATENATE code 2
Formula problem 2

Top