Solved

Excel:  Sum if with multiple criteria

Posted on 2014-07-23
3
450 Views
Last Modified: 2014-07-23
Experts,

I have a spreadsheet that contains two columns that I need evaluated before producing the sum (population).  Here are the details:

Criteria should read:  If rows (1 - 19) in column C contains "Yes" and NOT(If rows (1 - 19) in column A contain "Digital Terminal Adapter" or "Cable Card" ) then sum all of matching criteria in Column D (population).

I have attached a file to better illustrate what I am doing.  Basically if yes in column C,  but exclude the 2 criteria in column A.

thanks!
Test-CPE-formula.xlsx
0
Comment
Question by:Maliki Hassani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
Glenn Ray earned 500 total points
ID: 40214998
Since it appears you're using Excel 2007 or greater, you can use the SUMIFS function to solve this:
=SUMIFS(D2:D19,C2:C19,"Yes",A2:A19,"<>Digital Terminal Adapter",A2:A19,"<>Cable Card")

Reference:
http://office.microsoft.com/en-us/excel-help/sumifs-function-HA010047504.aspx


Regards,
-Glenn
0
 

Author Comment

by:Maliki Hassani
ID: 40215028
Thank you much!
0
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40215040
You're welcome.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question