Counting text or characters is a very common phenomenon among regular Excel users. Especially when we work with a large dataset with various criteria. In Excel, we can use the COUNTIF function to count text from the left. Unfortunately, it is not possible to use the COUNTIIF and LEFT functions together to count a specific text at the start of a cell. But we can do the same with the COUNT, IF, and LEFT functions. In this article, we will show the procedure in easy steps. Apart from these, we can also apply some other functions to count text from the left.
Count Text at Start with COUNTIF & LEFT Functions in Excel
To describe the whole process, we will show the steps one after another for better understanding. So, without further delay, let’s follow the steps below.
STEP 1: Create Dataset for Specific Text
- First, create a dataset in the Cell range B4:C15 with information of Keywords and their Search Volumes of different types of coffee makers.
STEP 2: Insert the Text You Need to Count
- Then, insert the Search text B in Cell F6 as we want to count how many cells have this letter at the beginning of a word in the dataset.
STEP 3: Apply Formula
- After that, insert this formula in Cell F7.
- Lastly, press Enter to see the result.
- In the end, we have found the number of occurrences of the specific text at the beginning of a cell.
Alternative Solutions for Counting Specific Text in Excel
You can also count characters or texts with the following solutions as well. For illustration, we will use the same dataset as above.
1. Combine SUMPRODUCT, LEFT & LEN Functions to Count Particular Text from Left
- To count text, first, apply this formula in Cell C18.
- Afterward, press Enter.
- Finally, you will get a similar output as counted text.
2. Apply COUNTIF Function to Return Number of Specific Text
Another solution is that we can use the COUNTIF function to count the number of specific texts. For this, go through this process.
- First, insert this formula in Cell F7.
- Then, hit Enter.
- That’s it, we get the accurate output as before for the counted number of the text.
- Even, if you need to find any specific word other than character, you can apply this formula.
- Apart from this, you can also find multiple words with this formula.
Things to Remember
- Any of the methods above does not require formatting the output cell as Number. Because all the formulas return the value as a number.
- If you are using an older version of Excel, then you have to press Ctrl + Shift + Enter to get the output as it is an array formula.
Download Practice Workbook
Get this sample file and practice by yourself.
Henceforth, I hope it was a helpful article for you on how to count text or characters with COUNT, IF, and LEFT functions in Excel. Also, we tried to explain two alternative solutions to count text. Let us know if you have any other methods to suggest for counting specific characters.