Counting occurrences of multiple conditions

G

Guest

How do I count the occurrences of more then 2 conditions? I have a formula
for 2 conditions "=sumproduct(($a$2:$a$500="list 1")*($b$2:$b$500=95))" that
formula finds "list 1" in the range a2-a500, it then checks for "95" in the
range b2-b500 and calculates the number of rows that contain both. I need to
add one more into the mix. any thoughts?

thanks in advance!
 
E

Earl Kiosterud

J,

Just stick it in there:

=SUMPRODUCT($a$2:$a$500="list 1")*($b$2:$b$500=95)*(C2:C500=whatever))"

Stick in yet another, if need be. And another.
 
G

Guest

Thanks Earl,

I did that but it did not work, it gave me the wrong number so I thought it
was a bad formula. I will look at the formula more carefully.

Jimv
 

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