Multiple if statements in a sumif function

T

TPDigg

I would like to create a sumif statement that uses two criteria...so sumif
a=b and c=d then sum the values in the range. Any ideas?

thanks
 
B

Bob Phillips

=SUMPRODUCT(--(rng1=value1),--(rng2="value2"),rng3)


--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)
 
T

TPDigg

Worked great!!!thank you for the help

Bob Phillips said:
=SUMPRODUCT(--(rng1=value1),--(rng2="value2"),rng3)


--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)
 

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