You are on page 1of 16

LEN Function

automateexcel.com/functions/len-formula-excel

Table of Contents
How to Use the LEN Function
How LEN Handles Numbers
How LEN Handles Formatted
How LEN Handles Dates
Trim characters from the end
LEN with TRIM
LEN with SUBSTITUTE
add leading zeros
add leading zeros 10 Digits
extract number from string LEFT
extract number from string R
Find Nth Word

Learn Excel inside Excel with our Interactive Tutorial


Automatically Graded Exercises
Shortcuts & Best Practices "Work Smarter, not Harder"

Learn More
Learn More

Course Contents

Learn More
Other Resources
Excel Formulas w/Examples
Excel Boot Camp - Learn Excel inside Excel
Excel Functions & Formulas Tutorial

Learn More
Learn More

Learn More
# First Name Last Name Result Result
1 Luke Skywalker 13 =LEN(C4&D4)
2 Luke Skywalker 13 =LEN(C4)+LEN(D4)
3 Luke Skywalker 14 =LEN(C5)

2 Luke Skywalker =LEN(B3&C3) 13


3 Luke Skywalker =LEN(B4)+LEN( 13
4 Luke Skywalker =LEN(B5) 14

# Name Result
1 Luke 4
2 Skywalker 9
3 Luke Skywalker 14

automateexcel.com/functions/len-formula-excel

Excel Boot Camp - Learn Excel Inside Excel Learn More


# Number Excel Returns
1 775 3
2 775.5 5
3 $ 775.50 5

automateexcel.com/functions/len-formula-excel

Excel Boot Camp - Learn Excel Inside Excel Learn More


# Number Excel Returns
1 3.33333 7
2 3.33333 16

automateexcel.com/functions/len-formula-excel

Excel Boot Camp - Learn Excel Inside Excel Learn More


# Number Excel Returns
1 12/27/1977 5
2 28486 5
3 27/12/1977 10

automateexcel.com/functions/len-formula-excel

Excel Boot Camp - Learn Excel Inside Excel Learn More


Reference Number Excel Returns
15267-4510 15267
66886262-6728 66886262
6615142-5589 6615142
50925-7543 50925
714609207-5070 714609207

automateexcel.com/functions/len-formula-excel

Learn
Excel Boot Camp - Learn Excel Inside More
Excel
LEN with TRIM
String LEN result
result
A long time ago 18 15
in a galaxy 21 11
far far away 26 12

automateexcel.com/functions/len-formula-excel

Excel Boot Camp - Learn Excel Inside Excel Learn More


LEN with
Name LEN result
SUBSTITUTE result

Han Solo 8 7
Lando Calrissian 16 15
Leia Organa 11 10
Yoda 4 4

automateexcel.com/functions/len-formula-excel

Excel Boot Camp - Learn Excel Inside Excel Learn More


Value Result
1 000001
12 000012
123 000123
1234 001234
12345 012345
123456 123456

automateexcel.com/functions/len-formula-excel

Excel Boot Camp - Learn Excel Inside ExcelLearn More


Value Result
987654321 00987654321
1234567890 01234567890

automateexcel.com/functions/len-formula-excel

Excel Boot Camp - Learn Excel Inside ExcelLearn More


Intial Text Number
200-Elephant 200
12345/Monkey 12345
99999_Ant 99999

MAIN

automateexcel.com/functions/len-formula-excel

Learn More
Excel Boot Camp - Learn Excel Inside Excel
Intial Text Number
Elephant-200 200
Monkey 4298 4298
Ant-9999 9999

automateexcel.com/functions/len-formula-excel

Excel Boot Camp - Learn Excel InsideLearn


ExcelMore
Original String Word (n) Result
an apple a day keeps the doctor away 2 apple
an apple a day keeps the doctor away 4 day
an apple a day keeps the doctor away 7 doctor

automateexcel.com/functions/len-formula-excel

Learn
Excel Boot More
Camp - Learn Excel Inside Excel

You might also like