2.4 C
London
Friday, December 20, 2024
HomeExcelDescriptive Statistics in ExcelHow to Count Frequency of Text in Excel

How to Count Frequency of Text in Excel

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

You can use the COUNTIF(range, criteria) function to count how often specific text occurs in an Excel column.

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

Example 1: Count Frequency of One Specific Text

Suppose we have the following column in Excel that shows various NBA team names:

If we’d like to count how often the team name “Hornets” appears in the column, we can use the following formula:

=COUNTIF(A2:A21, "Hornets")

The following screenshot shows how to use this formula in practice:

We can see that “Hornets” appears 3 times.

Example 2: Count Frequency of Multiple Text

If we’d like to count the frequency of multiple different text, we can use the UNIQUE() function to get an array of every unique text that appears in a column:

We can then use the COUNTIF() function to count how frequently each team name occurs:

We can see that:

  • The team name “Mavericks” occurs 3 times.
  • The team name “Spurs” occurs 2 times.
  • The team name “Lakers” occurs 3 times.

And so on.

Additional Resources

The following tutorials offer additional information on how to count frequencies in Excel:

How to Create a Frequency Distribution in Excel
How to Calculate Relative Frequency in Excel
How to Calculate Cumulative Frequency in Excel

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories