Current progress:
={QUERY(A2:C,"select C,count(A) where A matches 'C|D|E|F|G|H|I|J|K' and A is not null group by C label count(A)''", 0),QUERY(A2:C,"select count(B) where B matches 'F|G|H|I|J|K' and B is not null group by C label count(B)''", 0)}
As we have discussed / tested on your sample sheet. This should work as close as possible to the data that you would want to filter/display.
Answer from Century Tuna on Stack OverflowCurrent progress:
={QUERY(A2:C,"select C,count(A) where A matches 'C|D|E|F|G|H|I|J|K' and A is not null group by C label count(A)''", 0),QUERY(A2:C,"select count(B) where B matches 'F|G|H|I|J|K' and B is not null group by C label count(B)''", 0)}
As we have discussed / tested on your sample sheet. This should work as close as possible to the data that you would want to filter/display.
A 2-formula solution was found to work as well. Answer is in the same spreadsheet linked above in Sheet2. It should prevent the first formula from not working should someone need a different one.
J2 - =QUERY(A2:C,"select C,count(A) where A matches 'C|D|E|F|G|H|I|J|K' group by C label count(A)''", 0)
L2 - =ArrayFormula(IFNA(vlookup(J2:J,QUERY(A2:C,"select C,count(B) where B matches 'F|G|H|I|J|K' group by C label count(B)''", 0),2,0)))
Using COUNTIF with multiple criteria.
Using countif to count multiple criteria in a single cell - Google Docs Editors Community
google sheets - COUNTIFS for Single Column Range but using Multiple Criteria - Web Applications Stack Exchange
google sheets - COUNTIF with more than 3 criteria or use different formula? - Stack Overflow
How do I use COUNTIFS to count cells with multiple criteria in Google Sheets?
What are some best practices for using COUNTIF and COUNTIFS in Google Sheets?
What are some common errors when using COUNTIF and COUNTIFS in Google Sheets, and how can I fix them?
Hello, I am attempting to count the number of "Passes" but only depending on what they passed. For example, I need to count "Pass" but only if it was a pass for "Test A". So one column lists what they were working on and the other lists their results. The general idea would be along the lines of "If X1:X100 = "Test A", then countif Y1:Y100 "Pass" for each cell that is = "Test A". I hope I articulated this effectively. Thanks.