×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# Sumif with multiple criteria

## Sumif with multiple criteria

(OP)

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

### RE: Sumif with multiple criteria

(OP)
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

### RE: Sumif with multiple criteria

(OP)
Let me try again.

### RE: Sumif with multiple criteria

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!

### RE: Sumif with multiple criteria

Problem is not well defined

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!