Excel : sum of values depending of other values

Posted by gregseth on Stack Overflow See other posts from Stack Overflow or by gregseth
Published on 2010-06-02T21:53:14Z Indexed on 2010/06/02 22:04 UTC
Read the original article Hit count: 152

Filed under:
|
|
|

Hi,

What would be the equivalent Excel formula of this SQL query

SELECT SUM(a) FROM table WHERE b < 0;

A     B
----  ----
   1     0
   2    -1 
   3     4
   5    -3

>> 7

© Stack Overflow or respective owner

Related posts about sql

Related posts about excel