Exercises
Google Sheets
Excel tests
Functions
Shortcuts
Sign in
Home
Excel functions
LEN
←
Excel functions
The LEN function
Returns the number of characters in a text, spaces included.
=
LEN(
Syntax
LEN(text)
text
The text or cell to measure.
Examples
C1
=LEN(A2)
A
B
C
1
City
10
2
Copenhagen
C1
=LEN(" hi ")
A
B
C
1
City
6
2
Copenhagen
Practice LEN
1
Drop a prefix with RIGHT and LEN
→
2
Count the words in a cell
→
Read the guide
How to clean data in Excel with formulas
How to create a drop-down list in Excel, and make it update itself
Related functions
TRIM
LEFT
MID