Count letters
| A | |
|---|---|
| 1 | Text |
| 2 | Camp |
Formula: C2: =LEN(A2)
Result: 4
The word contains four characters.
In Google Sheets, LEN over a range returns a single number unless it is wrapped in ARRAYFORMULA, which gives one length per row.
LEN(text)Combine it with an open-ended range such as A2:A to keep counting as the data grows.
For a fuller explanation of the arguments and common errors, see the LEN Excel guide.
| A | |
|---|---|
| 1 | Text |
| 2 | Camp |
Formula: C2: =LEN(A2)
Result: 4
The word contains four characters.
| A | |
|---|---|
| 1 | Text |
| 2 | A B |
Formula: C2: =LEN(A2)
Result: 3
The space between the letters is a character.
| A | |
|---|---|
| 1 | Value |
| 2 | 12345 |
Formula: C2: =LEN(A2)
Result: 5
The numeric value is converted to its text representation for counting.
A tiny spreadsheet with example data. Edit the formula or any number and see the result.
Formula in D2: =LEN(A2)
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Text | Other | Result | |
| 2 | Alice Johnson | alice johnson | 13 | |
| 3 | [email protected] | [email protected] | ||
| 4 | extra spaces | |||
| 5 | SKU-2026-0415 | |||
| 6 | iced coffee, tea, sugar | |||
| 7 | Order 417 shipped |
Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.
Enter — commit · F2 — edit · F4 — $ in a reference · Ctrl+C/Ctrl+V — copy and paste · Ctrl+Z — undo
Esc or F6 — leave the sheet for the «Check» button · Shift+Tab in the first cell — back to the page