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 feature
Determine frequency of a word with Count times a word appears feature
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:
![]() |
![]() |
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:
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:
![]() |
![]() |
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 300 handy functions, makes your jobs more 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:
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:
3. Click OK, then if you need, drag fill handle over the cells to count the character in each cell.
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 > Statistical > Count the number of a word. See screenshot:
2. Then in the Formula Helper dialog, select the cell or cell range you want to use in Text box, type the word you want to count into Word box. See screenshot:
3. Click Ok.
Relative Articles
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, 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!
