Quickly count the occurrences of a character in a string in Excel
Kutools for Excel
Boosts Excel With 300+
Powerful Features
Supposing, you have a list of test strings in a worksheet, now you want to count the number of times a specific character or letter appears within a cell. Are you still counting the occurrences of that specified character one by one manually? Kutools for Excel’s COUNTCHAR function can quickly count specific character appearing times in a cell.
COUNTCHAR function: Counting the number of times a character appears in a string
Click Kutools >> Kutools Functions >> Statistical & Math >> COUNTCHAR, see screenshot:
COUNTCHAR function: Counting the number of times a character appears in a string
Take the following data for example, I want to count the number of the letter “c” which appears in the cell A1, please do as follows:
1. Select one cell where you want to put the result.
2. Apply COUNTCHAR function by clicking Kutools > Kutools Functions > Statistical & Math > COUNTCHAR, in the popped out Function Arguments dialog box, click the first button besides Within-text to select the cell which you want to count the specific character, and then enter the character “c” that you want to count the occurrences of the text string, see screenshot:
3. And then click OK to close the dialog, you will get the number of times that specific character appears, see screenshot:
Notes:
1. This function is case sensitive.
2. With this utility, you can also count any other special characters, such as , ;*?/!~ and so on.
Demo: Quickly count the occurrences of a character in a string in Excel
Productivity Tools Recommended
Office Tab: Use handy tabs in Microsoft Office, just like Chrome, Firefox, and the new Edge browser. Easily switch between documents with tabs — no more cluttered windows. Know more...
Kutools for Outlook: Kutools for Outlook offers 100+ powerful features for Microsoft Outlook 2010–2024 (and later versions), as well as Microsoft 365, helping you simplify email management and boost productivity. Know more...
Kutools for Excel
Kutools for Excel offers 300+ advanced features to streamline your work in Excel 2010 – 2024 and Microsoft 365. The feature above is just one of many time-saving tools included.

