Solved

Excel:  Sum if with multiple criteria

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Web Query 1 19
Collapse and expand table in Word 2010 2 32
Application.FileSearch does not work in excel 2016 2 17
Excel formula to report date modified 14 23
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

839 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