Helps with Countifs function

Vincent Vitale
New Contributor

I need help with figuring out how to write a formula.  I have a spreadsheet with two columns containing data that I need to evaluate.  The first column contains two dozen different department names.  I want to search this column and if a row contains 1 of 5 specific departments I want to go to a second column that contains five rating scales (Strongly Agree, Agree, etc...), and if the row contain 2 specific rating scales I want to count it.  I need a formula that finds multiple criteria in one column, and for true statements, looks in another column for multiple criteria, and counts the occurrences.  


I've searched and tried sum(countfis, multiple countif,...nothing I've tried worked. Anyone have any ideas?  Thank you in advance for your help.  

4 Replies
kindly attach a sample file (with clear explanation) so people here can have a better view of what you need. Solutions could be faster this way.

Thank you for your response.  I've uploaded an example.  On the second tab I've provided details of what I'm trying to do.  Please let me know if you have any other questions. 


Hi Vincent,


With two OR conditions you shall use columns conditional array in one case and rows array in another one, like

=SUM(COUNTIFS(Data!$A:$A,{"Commuter Operations","Facilities","FinOps","OPM/CHSA/COBRA","Vendor Management"},Data!$B:$B,{"Strongly Agree";"Agree"}))

More about that is here


Thank you!  This solved my problem.  I really appreciate your help. 

Related Conversations
COUNTIF not working
sme527 in Excel on
10 Replies
Which formula to use
Ramon Haagen in Excel on
2 Replies
Totaling using two sets of data
dazedandconfused in Excel on
2 Replies