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 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 times a word appears utility to quickly count a specific word in a range.

Kutools for Excel, with more than 300+ handy Excel functions, enhance working efficiency and save working time.
 

1. Select a blank cell that you want to place the counted result, and click Kutools > Formula Helper > Count times a word appears. See screenshot:
doc count instance of word 4

2. In the Formula Helper dialog, select the cell you want to use to count in the Text box, and enter the word you want to count with double quotations into Word box. See screenshot:
doc count instance of word 5

3. Click Ok. Now it count number of the specific word in a cell.
doc count instance of word 6


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 > Count words in range. See screenshot:
doc count instance of word 7

2. In the Formula Helper dialog, select the range you want to count words from into the Range box, see screenshot:
doc count instance of word 8

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

doc download 1


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
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.