Step by step
- Click on an empty cell where you want the character count to appear.
- Type =LEN(A1) and replace A1 with the cell reference you want to measure, then press Enter.
- To count characters without spaces, use =LEN(SUBSTITUTE(A1," ","")) instead.
- Drag the fill handle down to apply the formula to other rows in your column.
At a glance
| Goal | Formula | What it counts |
|---|---|---|
| Count all characters | =LEN(A1) | Letters, numbers, punctuation, and spaces |
| Exclude spaces | =LEN(SUBSTITUTE(A1," ","")) | All characters except regular spaces |
| Count a range of cells | =SUMPRODUCT(LEN(A1:A10)) | Total characters across multiple cells |
Related questions
Does the LEN formula in Excel count spaces?
Yes. By default, =LEN(A1) counts every character in the cell, including leading, trailing, and between-word spaces.
How do I count characters in Excel without spaces?
Wrap the cell reference in a SUBSTITUTE function to remove spaces first: =LEN(SUBSTITUTE(A1," ","")).
Can I count characters across multiple cells at once?
Yes. Use =SUMPRODUCT(LEN(A1:A10)) to get the combined character count for a range of cells.
More questions: character counter
- Character Counter With Spaces: Do Spaces Count?
- Character Counter Without Spaces
- How to Count Characters in Microsoft Word
- How to Count Characters in Google Docs
- How to Count Characters in Google Sheets
- How to Count Characters in Apple Pages
- How to Count Characters on iPhone
- Character Counter and Limit for SMS
- What Is the Character Limit for X (Twitter) Posts?
- What Are the Character Limits for Instagram Bios and Captions?
- What Are the Character Limits for Google SEO Titles and Meta Descriptions?
- How to Estimate Speaking Time From Character Count
- What Is Character Count and What Counts as a Character?
Open the full character counter →
Updated November 14, 2026.