# How to Count Frequency of Text in Excel

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.

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

May 13, 2024
April 25, 2024
April 19, 2024
April 18, 2024
April 18, 2024

## One Reply to “How to Count Frequency of Text in Excel”

1. Jess says:

How do you do this if the phrases are all different?
Various phrases but you are looking for the frequency of appearing terms within those phrases in excel – 5000 phrases…
for example
light bulb
home appliances
lightbulb for home
bathroom bulbs
bathroom sink
how to unscrew a lightbulb safely
etc.
how would you find the frequency of popular phrases within the excel sheet? Only finding information on single words not multiple variables.