Text Modern

LEN

Returns the number of characters in a text string.

Available in All versions

Syntax

LEN(text)

What it returns

The character count as a number.

Arguments

ArgumentRequiredDescription
text Yes The text whose length you want.

Example

I1
N2
V3
O4
I5
C6
E7
Count
7

LEN counts how many characters the text contains (7).

=LEN(A2)

Important to know

Counts every character, including spaces.

LEN reads the cell's underlying value, not its display format — if formatting matters, convert the number with TEXT first.

Related functions

Related learning