Solved

Excel:  Sum if with multiple criteria

Posted on 2014-07-23
3
434 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
  • 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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