sum up two result in one column

L

Lowan Chan

How can I sum up numbers which are >0 and <0 respectively in one column?
e.g. in Column A, I have

12
-46
90
32
-56
-34

how can I set the fomula that only minus number are sumed up?

thanks.
 
R

RonaldoOneNil

Assuming your numbers are in A1 to A6
=SUMIF(A1:A6,"<0",A1:A6)
=SUMIF(A1:A6,">0",A1:A6)
 
S

Stefi

=SUMIF(A1:A6,"<0",A1:A6) for negative,
=SUMIF(A1:A6,">0",A1:A6) for positive numbers.

Regards,
Stefi

„Lowan Chan†ezt írta:
 

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

Top