Solved

How to add an additional complex countif to an established sumproduct/countif?

Posted on 2013-06-12
2
264 Views
Last Modified: 2013-06-12
I have a file attached that is currently counting the various codes in column D of the Summaries tab based on the descriptions in column B of the Schedule Codes tab.

I would like to have an initial screening based on the managment areas in column C of the Summaries tab. I copied all of the info I had for area 1A two times. That is why the current formulas show 3 times what the answer should be. I would like each Summary box on the Summaries tab to only show the information if the area in column C matches what is in row 2 of the summary boxes.

What should I add to my current formulas to do this?

Thanks!
ExpertHelp.xlsx
0
Comment
Question by:Dominator1025
[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 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 39242070
You can change the COUNTIF part of the formula to a COUNTIFS to check the extra criterion, e.g. with this formula in I3

=SUMPRODUCT(--ISNUMBER(SEARCH("residential",'Schedule Codes'!$B$1:$B$1000))*COUNTIFS($C$1:$C$973,I2,$D$1:$D$973,'Schedule Codes'!$A$1:$A$1000))

....and similar for your other calculations

regards, barry
0
 

Author Closing Comment

by:Dominator1025
ID: 39242085
Barry,

Awesome as always, thanks!

Dom
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

719 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