Skip to main content

How to count the number of a word or character in an Excel column or cell?

In this article, I introduce some tricks on counting the number of a word or a character in a column or a single cell in Excel sheet.

Count number of instances of a number or word in a column with formula

Count number of instances of a character or word in a cell with formula

Count number of all words in a range with Kutools for Excel


arrow blue right bubble Count number of instances of a number or word in a column with formula

In this section, I introduce a formula to count number of instance of a number or a word in a column.

Select a blank cell, and type this formula =COUNTIF(A1:A10,"Stars"), press Enter key, then it counts the number of instances of the word “Stars” in the column range. See screenshot:
doc count instance of word 1

In the formula, A1:A10 is the column range you want to count word or number from, and Stars is the word you want to count, you can change it to a number or a character or other words as you need.


arrow blue right bubble Count number of instances of a character or word in a cell with formula

If you want to count the number of a character or a word in a single cell, you can try below methods.

Count a specific character in a single cell with formula

Select a blank cell, type this formula =LEN(F1)-LEN(SUBSTITUTE(F1,G1,"")), press Enter key to get the result. See screenshot:
doc count instance of word 2

Tip: in this formula, F1 is the cell you want to count character from, and G1 is the character you want to count, you can change them as you need.

Count a specific word in a single cell with formula

Select an empty cell, type this formula =(LEN(A14)-LEN(SUBSTITUTE(A14,B14,"")))/LEN(B14), press Enter key to get the result. See screenshot:
doc count instance of word 3

Tip: in this formula, A14 is the cell you use, B14 is the word you want to count, you can change them as you need.

Count specific word in a cell with Kutools for Excel

If you do not want to remember formulas, you can apply Kutools for Excel’s Count the number of a word utility to quickly count a specific word in a range.
doc count instance of word 6

doc kutools count number of a word 2


arrow blue right bubble Count number of all words in a range or cell with Kutools for Excel

In some cases, you may want to count the number of all words in a range or a cell just like the Total count in Word document. Obviously, you can copy the contents of cells to a Word document to count the total number of words, but here I introduce a handy add in tool – Kutools for Excel to you, with its Count words in range utility to quickly count words in a range or cell.

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 where you will place the counted result, click Kutools > Formula Helper > Formula Helper. See screenshot:
doc kutools count total words 1

2. In the Formulas Helper dialog, check Filter checkbox, then type "count" into the  textbox to filter the formula relative counting, then click Count total words from the Choose a formula section, and then select the cells you want to count the words in the Range textbox.
doc kutools count total words 2

3. Click Ok. And the total number of words in the selected range has been counted.
doc kutools count total words 3

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