![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How To Count Occurrences Of Specific Character In A Cell In Excel?
Excel is a widely used spreadsheet software that offers numerous features for data manipulation and analysis. One of the most common tasks that users perform in Excel is counting the occurrences of a specific character within a cell. This can be useful in a variety of situations, such as when analysing text data or performing quality control checks on data inputs.
In this tutorial, we will go through the step-by-step process of counting the occurrences of a specific character within a cell in Excel. We will cover multiple methods, including using built-in Excel functions and utilizing macros to automate the process. By the end of this tutorial, you will have a comprehensive understanding of how to count specific characters in Excel cells and be able to apply this skill to your own data analysis tasks.
Count Occurrences Of Specific Character In A Cell
Here we will first get any one of the results using the formula, then use the auto-complete handle to complete the task. So let us see a simple process to know how you can count occurrences of a specific character in a cell in Excel.
Step 1
Consider an Excel sheet where you have a list of text strings similar to the below image.
![](https://www.tutorialspoint.com/assets/questions/media/483469-1689145576.png)
First, click on an empty cell, in our case cell B2, and enter the formula as
=LEN(A2)-LEN(SUBSTITUTE(A2,"e","")) and click enter to get the first result.
Empty cell > Formula > Enter.
![](https://www.tutorialspoint.com/assets/questions/media/483469-1689145593.png)
Step 2
Now to get all the values, drag them down from the first result using the auto-fill handle to complete the task.
![](https://www.tutorialspoint.com/assets/questions/media/483469-1689145624.png)
This is how we can count occurrences of a specific character in a cell in Excel.
Conclusion
In this tutorial, we used a simple example to demonstrate how you can count occurrences of a specific character in a cell in Excel to highlight a particular set of data.