How can I use the COUNTIF function from another sheet in Excel? 2

How can I use the COUNTIF function from another sheet in Excel?

The COUNTIF function in Excel is a useful tool for counting the number of cells in a range that meet a specified criteria. This function can also be used across different sheets in an Excel workbook. To use the COUNTIF function from another sheet, simply enter the sheet name followed by an exclamation mark (!) before the range and criteria. This will allow you to access and count data from a different sheet within the same workbook. This can be particularly helpful in larger data sets where information is organized in multiple sheets. By utilizing the COUNTIF function from another sheet, you can easily track and analyze data across different sections of your workbook.

Excel: Use COUNTIF From Another Sheet


You can use the following basic syntax to use a COUNTIF from another sheet in Excel:

=COUNTIF(Sheet1!A1:B20, ">30")

The following examples show how to use this syntax in practice.

Example 1: COUNTIF From Another Sheet

Suppose we have the following sheet named Sheet1 in Excel that contains some data about basketball players:

Now suppose we’d like to switch to Sheet2 and count the total players who have more than 30 points.

We can use the following syntax to do so:

=COUNTIF(Sheet1!B2:B9, ">30")

Here’s how to apply this formula in practice:

Excel COUNTIF from another sheet

We can see that 2 players have more than 30 points.

Example 2: COUNTIFS From Another Sheet

Suppose we have the following sheet that contains some data about basketball players:

Now suppose we’d like to switch to Sheet2 and count the total players who are on team A and have more than 30 points.

We can use a COUNTIFS function to do so since we’re using multiple criteria when counting:

=COUNTIFS(Sheet1!A2:A9, "A", Sheet1!B2:B9, ">30")

Here’s how to apply this formula in practice:

We can see that 3 players belong to team A and have more than 30 points.

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 from another sheet in Excel?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-use-the-countif-function-from-another-sheet-in-excel/

stats writer. "How can I use the COUNTIF function from another sheet in Excel?." PSYCHOLOGICAL SCALES, 1 Jul. 2024, https://scales.arabpsychology.com/stats/how-can-i-use-the-countif-function-from-another-sheet-in-excel/.

stats writer. "How can I use the COUNTIF function from another sheet in Excel?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-use-the-countif-function-from-another-sheet-in-excel/.

stats writer (2024) 'How can I use the COUNTIF function from another sheet in Excel?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-use-the-countif-function-from-another-sheet-in-excel/.

[1] stats writer, "How can I use the COUNTIF function from another sheet in Excel?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, July, 2024.

stats writer. How can I use the COUNTIF function from another sheet in Excel?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top