Forum Discussion
Vincent Vitale
Oct 05, 2018Copper Contributor
Helps with Countifs function
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. ...
- Oct 08, 2018
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 https://exceljet.net/formula/countifs-with-multiple-criteria-and-or-logic
Attcahed
Vincent Vitale
Oct 08, 2018Copper Contributor
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.
SergeiBaklan
Oct 08, 2018Diamond Contributor
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 https://exceljet.net/formula/countifs-with-multiple-criteria-and-or-logic
Attcahed
- Vincent VitaleOct 13, 2018Copper Contributor
Thank you! This solved my problem. I really appreciate your help.