Subtracting A from B

S

Sibbs

Hi guys, getting really frustrated with this problem

I only want to subtract A2 from A1 and put the diffrence in B2 then follow
the list down then have the total sum lost at the bottom of collumn B.

i.e
A2 from A1 = B2
A3 from A2 = B3
B4= Sum of B2 and B3


All I seem to get is

A B
1 50 -
2 49 1 (Sum(A1-A2))
3 49 Why do I get this?
4 0
5 0
6 50 Should be 1 not 50

Cheers in advance
 
F

FSt1

hi
if your are using this formula....
=A1-A2 and coping down.....
look at A3. A3="" and nothing from 49 is 49.

Regards
FSt1
 
S

Sandy Mann

B2:

=IF(COUNT(A1:A2)=2,A1-A2,"")

and copy down.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
Replace @mailinator.com with @tiscali.co.uk
 
S

Sibbs

I see now, cheers guys. Very Much appreciated.

FSt1 said:
hi
if your are using this formula....
=A1-A2 and coping down.....
look at A3. A3="" and nothing from 49 is 49.

Regards
FSt1
 
B

Bernard Liengme

Firstly, you do not need to use SUM in every formula. Just =A1-A2 will do
the job

Secondly, if you copied the formula from B2 to B3 it becomes =A2-A3 and
since A3 is empty (treated as zero) you get 49.

best wishes
 

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

Column sum incorrect upon subtracting 6
how to sum up a range of formulas? 5
Find a value in table 2
Numerating Cells. 2
Charts. 6
Variable Sum Function 6
How to get the total sum 2
click and drag a cell 1

Top