Table of Contents
The COUNTIF function in Excel allows users to count the number of cells within a specified range that meet a certain criteria. This function can also be used to count cells that meet multiple criteria within the same column. By using a combination of logical operators, such as “AND” or “OR”, users can specify multiple criteria for the function to count. This allows for a more precise and efficient way to count cells that meet specific conditions, rather than manually sorting through the data. Overall, the COUNTIF function in Excel is a useful tool for organizing and analyzing data with multiple criteria.
Excel: Use COUNTIF with Multiple Criteria in Same Column
You can use the following syntax to perform a COUNTIF function with multiple criteria in the same column in Excel:
=SUMPRODUCT(COUNTIF(A2:A16,{"word1","word","word3"}))
This particular formula will return the count of cells in the range A2:A16 where the value is equal to “word1”, “word2”, or “word3.”
The following example shows how to use this syntax in practice.
Example: Use COUNTIF with Multiple Criteria in Same Column
Suppose we have the following dataset in Excel that contains the names of various basketball teams:

We can use the following formula to count the number of cells in the range A2:A16 that are equal to “Mavs”, “Celtics”, or “Spurs”:
=SUMPRODUCT(COUNTIF(A2:A16,{"Mavs","Celtics","Spurs"}))The following screenshot shows how to use this formula in practice:

We can see that a total of 9 cells were equal to one of these three values.
We can manually count each of these 9 cells to verify that this is correct:

There are indeed 9 cells that are equal to “Mavs”, “Celtics”, or “Spurs.”
Additional Resources
The following tutorials explain how to perform other common tasks in Excel:
Cite this article
stats writer (2024). How can I use the COUNTIF function in Excel to count cells that meet multiple criteria within the same column?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-use-the-countif-function-in-excel-to-count-cells-that-meet-multiple-criteria-within-the-same-column/
stats writer. "How can I use the COUNTIF function in Excel to count cells that meet multiple criteria within the same column?." PSYCHOLOGICAL SCALES, 28 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-use-the-countif-function-in-excel-to-count-cells-that-meet-multiple-criteria-within-the-same-column/.
stats writer. "How can I use the COUNTIF function in Excel to count cells that meet multiple criteria within the same column?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-use-the-countif-function-in-excel-to-count-cells-that-meet-multiple-criteria-within-the-same-column/.
stats writer (2024) 'How can I use the COUNTIF function in Excel to count cells that meet multiple criteria within the same column?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-use-the-countif-function-in-excel-to-count-cells-that-meet-multiple-criteria-within-the-same-column/.
[1] stats writer, "How can I use the COUNTIF function in Excel to count cells that meet multiple criteria within the same column?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. How can I use the COUNTIF function in Excel to count cells that meet multiple criteria within the same column?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
