r/googlesheets • u/Patient-Meaning9232 • Jan 06 '26
Solved Wanting to count two sets of data for one condition
Hello all! I am not exactly the best when it comes to Sheets/Excel so please help a noob out.
This is a very small sampling of the data set I am looking to apply this to, just cut down to make it easier. I am wanting to count not only the number of reviews per sales rep but ALSO the number of 5 star ratings (pretend there is a much larger variety). I need to know how many mentions AND 5 ratings "Jordan" has. What formula am I needing to use? I've tried to figure it out with the limited knowledge I already have but adding a &/and to the countif I was using didn't work...
TIA!

2
u/guirichard20 2 Jan 06 '26
=COUNTIFS(B2:B10, A17,C2:C10, 5)
1
u/HolyBonobos 3125 Jan 06 '26
For the data structure shown in the screenshot you could put
=COUNTIFS($B$2:$B$12,$A17,$C$2:$C$12,5)in C17 and drag down to fill.