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


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

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!
officetab bottom
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.