Sum based on multiple conditions

S

Stephanie

I would like to sum certain cells if they meet 2 criteria
One is if the number in column c is greater than 0
Two is if the number in column d is equal to 1

C D
10.00 1
13.00 2
15.00 5
12.00 2

in this example the result of my formula would be 25.00
Thanks fo any help.

Stephanie
 
G

Guest

=SUM(IF(C2:C5>0,IF(D2:D5=2,C2:C5)))

Don't forget ctrl+shift+enter to enter as an array or you
will get a #Value.
Melissa
 

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