Sum based on specific condition

P

Peo Sjoblom

LOL! That was just the 35th answer, do you really think a simple question
like that would have been left unanswered for 48 hours? How about getting a
newsreader?
 
G

Guest

Someone else might have a more elegant way of doing this, but here's what I'd
do:

In cell E1, put: =if(a1>b1,d1,0). Then sum column E instead of column D to
get your total.

Hope this helps!

Sam.
 
G

Guest

Try

=SUM(IF(B1:B9>A1:A9,D1:D9))

after typing the above press CTRL+SHIFT+ENTER instead of simple enter
 
H

Harlan Grove

Peo Sjoblom said:
LOL! That was just the 35th answer, do you really think a simple
question like that would have been left unanswered for 48 hours?
How about getting a newsreader?
....

What?! There might be something better than Microsoft's own web site?!
 

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

Similar Threads

Need to 'COUNT'... 5

Top