SUMIF function

M

Mark Dvorkin

I have in column A negative and positive values.
I'd like to sum-up all negative values in that column in a given range
(say A2:A5)
using SUMIF() and place the result in a cell D20:

A
-3
-1
-5
2
-4
-22
12

I attempted to SUMIF(A2:A5, (A2:A5)<0, A2:A5)
The function returns zero, but silly me expected -10

Any help is greatly appreciated,
/mark

-
 

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