How to count characters in cell/range/worksheet in Excel?
Sometimes, you may need to count the length of the letters in a cell, a range or a whole worksheet in Excel, so now I talk about the methods for you to get it done quickly.
If only count the length of all characters in a cell, you can select a blank cell, and type this formula =LEN(A1) (A1 stands the cell you want to count letters, you can change it as you need), then press Enter button on the keyboard, the length of the letters in the cell has been counted. See screenshot:
Note: This method will count string length of all characters in the specified cell, including numbers, space, special marks, etc.
But if you want to count the characters in a range, you can type this formula =SUM(LEN(A1:B5)) (A1:B5 stands the range you want to count characters, you can change it as you need), then press Ctrl + Shift + Enter buttons on the keyboard, the length of the characters in the specified range has been counted. See screenshot:
If you want to count all the characters in a whole worksheet, there is not a direct way to count them in Excel, it must be with the help of Word.
1. Open the worksheet you want to count the letters, and press Ctrl + A to select the whole worksheet, then copy them to a Word document.
2. Then in Word, click Review > Word Count, see screenshot:
3. In the pop-up Word Count dialog, you can see the number of letters. See screenshot:
If you want to count only the occurrnce of a specific character in a string, you can use Kutools for Excel's COUNTCHAR function to quickly count the number of a character in a 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 cell you want to output the counting result, and click Kutools > Kutools Functions > Statistical & Math > COUNTCHAR .See screenshot:
2. Then in the Function Arguments dialog, select the string that you want to count from to the textbox besides Within_text, and enter the character surrounded with double quotation marks which you want to count in the Find_text box. See screenshot:
3. Click Ok to close the dialog, and drag the autofill handle down to apply the formulas to cells you need.