Solved

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

Posted on 2013-06-12
2
259 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

Independent Software Vendors: 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

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
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…

733 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