Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to determine frequency of a character/text/string in an Excel range?

If there are some data in an Excel range, you want to determine the frequency of a number, text, or string, except manually count them one by one, how can you solve it? Here in this tutorial, I introduce some different methods to help you quickly and easily determine the frequency of string in Excel.

Determine frequency of a character/text/string with formula

Determine frequency of a character with COUNCHAR featuregood idea3

Determine frequency of a word with Count times a word appears featuregood idea3


Determine frequency of a character/text/string with formula


Here are some formulas working for different situations.

Count frequency of a number in a range

Note: This formula can work correctly while each cell contains only one character in the range.

Select a cell and type this formula =SUM(IF(D1:D7=E1,1,0)) (D1:D7 is the range you work, E1 contains the character you want to count), press Shift + Ctrl + Enter key. See screenshot:

doc determine frequency 1
doc determine frequency 2

Count frequency of an alphabetical character in a range

Note: This formula can work correctly while each cell contains only one character in the range.

You also can use this formula =SUM(IF(D1:D7="k",1,0)) to count the frequency of a certain alphabetical character, (D1:D7 is the range, k is the character you want to count), press Shift + Ctrl + Enter keys. See screenshot:
doc determine frequency 3

Count frequency of a string in a range

Supposing you want to count the times of string which contains kte, select a blank cell, and type this formula =COUNTIF(C13:C18,"*kte*"), (C13:C18 is the range you work, kte is the string you want to count), press Enter key. See screenshot:

doc determine frequency 4
doc determine frequency 5

Determine frequency of a character with COUNCHAR feature

If you want to count the times of a character in a single cell, you can apply Kutools for Excel’s COUNTCHAR feature.

Kutools for Excel, with more than 120 handy functions, makes your jobs easier. 

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

1. Select a blank cell to output the result, click Kutools > Kutools Functions > Statistical & Math > COUNTCHAR. See screenshot:
doc determine frequency 6

2. In the Functions Arguments dialog, select the cell you want to use into Within_text box, and type the character around with double quotation marks into Find_text box, and you can see the result shown in below. See screenshot:
doc determine frequency 7

3. Click OK, then if you need, drag fill handle over the cells to count the character in each cell.
doc determine frequency 8


Determine frequency of a word with Count times a word appears feature

If you want to count the times a word appears in a single cell or a range, the Count times a word appears feature of Kutools for Excel can do you a nice favor.

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

1. Select a cell and click Kutools > Formulas Helper > Count times a word appears. See screenshot:
doc determine frequency 9

2. Then in the Formula Helper dialog, select the cell or cell range you want to use in Text box, type the word around with double quotation marks you want to count into Word box. See screenshot:
doc determine frequency 10

3. Click Ok.
doc determine frequency 11


Relative Articles


Recommended Productivity Tools for Excel

kte tab 201905

Kutools for Excel Helps You Always Finish Work Ahead of Time, and Stand Out From Crowd

  • More than 300 powerful advanced features, designed for 1500 work scenarios, increasing productivity by 70%, give you more time to take care of family and enjoy life.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Brings Tabbed Browsing and Editing to Microsoft Office, Far More Powerful Than The Browser's Tabs

  • Office Tab is designed for Word, Excel, PowerPoint and Other Office Applications: Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.