Arguments
criteria_range1- The first range to test.criteria1- The condition applied to the first range.
Counts cells that meet multiple conditions across several ranges.
Syntax
=COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], …)criteria_range1 - The first range to test.criteria1 - The condition applied to the first range.=COUNTIFS(A2:A50, "West", B2:B50, ">100")Returns: Rows where A is West AND B > 100
Every pair must match for the row to be counted.
Yes. COUNTIFS uses the same syntax in Google Sheets and LibreOffice Calc, so you can paste these formulas straight across.