COUNTIF based on multiple criteria in Excel and Google Sheets
=SUMPRODUCT(COUNTIF(A:A,B:B))
=SUMPRODUCT(COUNTIF(A:A,B:B))
=SUMPRODUCT(COUNTIF(A:A,B:B))
💡 You can also use range instead of the column
=SUMPRODUCT(COUNTIF(A:A,B:B))
💡 You can also use range instead of the column