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
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
Given:
Row# A B
3 1 0
4 2 -1
5 3 4
6 5 -3
=SUMIF(B3:B6; "<0"; A3:A6)