I am trying to combine multiple countifs and am not getting my desired amount. What I am trying to do is take multiple sets of criteria (departments) from the same column and then look at an additional column for a "YES" response and then divide all of those counts by a total count of all the specified departments. Here is an example of my current formula,
=COUNTIFS('Raw Data'!E:E,"FBC",'Raw Data'!G:G,"Yes")/COUNTIF('Raw Data'!E:E,"FBC")+COUNTIFS('Raw Data'!E:E,"Maternal Child",'Raw Data'!G:G,"Yes")/(COUNTIF('Raw Data'!E:E,"Maternal Child"))+COUNTIFS('Raw Data'!E:E,"NICU",'Raw Data'!G:G,"Yes")/COUNTIF('Raw Data'!E:E,"NICU")
Currently this is giving me 300% rather than 100%, I'm sure I have made an error somewhere in the process. I am open to another formula if there is a better one.
=COUNTIFS('Raw Data'!E:E,"FBC",'Raw Data'!G:G,"Yes")/COUNTIF('Raw Data'!E:E,"FBC")+COUNTIFS('Raw Data'!E:E,"Maternal Child",'Raw Data'!G:G,"Yes")/(COUNTIF('Raw Data'!E:E,"Maternal Child"))+COUNTIFS('Raw Data'!E:E,"NICU",'Raw Data'!G:G,"Yes")/COUNTIF('Raw Data'!E:E,"NICU")
Currently this is giving me 300% rather than 100%, I'm sure I have made an error somewhere in the process. I am open to another formula if there is a better one.