Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sumif with multiple criteria 1

Status
Not open for further replies.

4thorns

Structural
Jan 22, 2009
152
0
0
US

Hi All,
Wondering if you could give me a hand with this. I need a formula that will:
Sumif column D if the contents of column C are in column B and have an "x" next to them in column A.
I've picked this apart but can't find the right combination of functions to make it happen!

A B C D

x a d 8.00
x b b 3.31
x c e 6.5
. d
x e

Thanks, Doug
 
Replies continue below

Recommended for you

Why not just fill E with if(and(A="x",C=B), D,0) and just sum E

TTFN
faq731-376
7ofakss

Need help writing a question or understanding a reply? forum1529

Of course I can. I can do anything. I can do absolutely anything. I'm an expert!
 
Thanks for the reply IRstuff, and you are right. That would be perfect if the description of my problem was accurate.
I should have done this before. I've included a picture that I hope is a better representation of my dilemma.

Thanks again, Doug

Sumif_zps4c08ad29.jpg.html
 
I'm not seeing the difficulty. So replace D with I in my example?

TTFN
faq731-376
7ofakss

Need help writing a question or understanding a reply? forum1529

Of course I can. I can do anything. I can do absolutely anything. I'm an expert!
 
Hello,

Does this formula give the correct answer

=SUMPRODUCT((B1:B5=C1:C5)*(A1:A5="x")*D1:D5)

change ranges as required, but they must reference the same row numbers

----------------------------------
Hope this helps.
----------------------------------

maybe only a drafter
but the best user at this company!
 
Status
Not open for further replies.
Back
Top