Sum function

O

Omi

Hi,

If I have a set of numbers , how can I ask Excell to give
me the the sum of all +ve and sum of all -Ve

Example

-1
2
5
-6
7
-10

Answer: Sum of all +ve is 14, sum of all -VE is -17

Thanks
omer
 
B

Bob Phillips

Omi,

=SUMIF(A1:A10,"<"&0)

and

=SUMIF(A1:A10,">"&0)


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

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


Top