Sum Values depending on other values

B

bw

I would like to have a formula in a single cell that will sum the values in
range E:E if the corresponding value in G:G is >0.

for example:
Col G Col E
5 1
0 8
9 3
0 7

The sum of Col E is 4.

Thanks,
Bernie
 
B

Bob Phillips

=SUMIF(G:G,">0",E:E)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
G

Guest

Try this:

=SUMIF(G:G,">0",E:E)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro
 

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