Morning all
Stupid question of the day, say I have 3 columns, A, B and C
Column A Stock in
Column B stock out
Column C running total
Column A will only have updates 2 or 3 times a month, Column B may have daily stock out and I need Column C to show the current balance. If I enter =A2-B2, C2 will show the right result but if I drag C2 down abd then enter a figure in B3 it shows the wrong answer. I have attached a very simple example TIA
simple stock control (Excel 2003 & 2007)
-
- SilverLounger
- Posts: 1952
- Joined: 26 Jan 2010, 12:46
- Location: Nr. Heathrow Airport
simple stock control (Excel 2003 & 2007)
You do not have the required permissions to view the files attached to this post.
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
-
- 5StarLounger
- Posts: 818
- Joined: 24 Jan 2010, 15:56
Re: simple stock control (Excel 2003 & 2007)
Wouldn't C3 need to be:
=C2+A3-B3
and then copy that down?
=C2+A3-B3
and then copy that down?
Regards,
Rory
Rory
-
- SilverLounger
- Posts: 1952
- Joined: 26 Jan 2010, 12:46
- Location: Nr. Heathrow Airport
Re: simple stock control (Excel 2003 & 2007)
Thanks Roryrory wrote:Wouldn't C3 need to be:
=C2+A3-B3
and then copy that down?
I just could not get it this morning, can I add anything so that when I drag it down column c is blank until another quantity is put in the djacent b column?
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
-
- Administrator
- Posts: 78620
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: simple stock control (Excel 2003 & 2007)
If you'll fill in columns A and B from top to bottom, you could enter
=IF(AND(A3="",B3=""),"",C2+A3-B3)
in C3 and fill down. This will fail, however, if you leave a row blank in columns A and B, then enter something in a row below:
=IF(AND(A3="",B3=""),"",C2+A3-B3)
in C3 and fill down. This will fail, however, if you leave a row blank in columns A and B, then enter something in a row below:
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans
Hans
-
- SilverLounger
- Posts: 1952
- Joined: 26 Jan 2010, 12:46
- Location: Nr. Heathrow Airport
Re: simple stock control (Excel 2003 & 2007)
Cheers HansHansV wrote:If you'll fill in columns A and B from top to bottom, you could enter
=IF(AND(A3="",B3=""),"",C2+A3-B3)
in C3 and fill down. This will fail, however, if you leave a row blank in columns A and B, then enter something in a row below:
That worked like a charm
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin