Skip to main content

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 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:
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 > StatisticalCount the number of a word. 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 you want to count into Word box. See screenshot:
doc determine frequency 10

3. Click Ok.
doc determine frequency 11


Relative Articles

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

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...

Description


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!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations