Count Characters in Excel With a Formula
Use a simple Excel formula to count characters in a cell and understand what the result includes.
What is the essential answer?
To count the number of characters in an Excel cell, use the LEN function. For a value in cell A1, the formula is:
=LEN(A1)
LEN returns the number of characters in a text string, including letters, numbers, spaces, punctuation and symbols. The result can be checked by entering the formula in an empty cell.
How to interpret the count
LEN counts every character, so spaces are included. Leading, trailing and repeated spaces affect the result unless they are removed first.
In Excel, LEN regularly counts one character per visual unit, but some content may present measurement details that are not covered in the supplied evidence.
Using the formula with a specific value
If a direct value is needed instead of a cell reference, include the text in quotation marks:
=LEN("Example text")
This measures the supplied text directly. Formula behavior in every Excel version is not documented in the available material.
Known gaps
- Character limits for specific spreadsheet cells or fields
- LEN behavior with emoji, surrogate pairs, line breaks or non-standard Unicode input
- Differences between Excel desktop, Excel for the web and other spreadsheet applications