SUMIF with AND and OR

C

carl

I am trying to create a table and need a formula that will
do the following.

SUMIF H3:H300 OR I3:I300 = C4 AND D3:D300 = A5

Thanks in Advance.
 
D

Dave R.

I don't see from this what would be summed..

You can get started with sumproduct;

=SUMPRODUCT((H3:H300=C4)*(I3:I300=C4)*(D3:D300=A5),X3:X300)

where x3:x300 is the range you want summed.
 
A

Alan

Not sure I understand what you require, try this and post back if its not
what you need,
=SUMPRODUCT((H3:H300=C4)*(I3:I300=C4)*(D3:D300=A5))
Regards,
 
F

Frank Kabel

Hi Carl
another alternative
=SUMPRODUCT(((H3:H300=C4)+(I3:I300=C4)>0)*(D3:D300=A5),range_to_sum)
 

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