Count characters with LEN
Count the characters in a cell with LEN, spaces included, and use it to catch ZIP codes and names that are the wrong length.
In this lesson
=LEN(A2)counts the characters in A2.- Spaces you can't see count too.
- Length checks:
=IF(LEN(TRIM(A2))=5,"OK","Check")flags any ZIP code that isn't 5 characters.
Try a free lesson first
Delete repeated rows from a merged list, and choose which columns decide what counts as a duplicate.
Confident · 9 min · Free, with no sign-up
Do the free lesson on your computer.
Send yourself the link and open it on a laptop or desktop.
On your computer, go tolearnford.com/go/2R5R
This lesson is in the full Excel course
US$149 once
Tax included. New lessons are added as they're written.
Get the full course, US$14930-day money-back guarantee if you've opened fewer than 10 paid lessons.
- All 217 Excel lessons open today, and every new one as it's written.
- The Roadmap, Skills and all eight paths.
- A cheat sheet for every lesson you finish.
Where it sits in Text
- Combine first and last names8 min
- FIND and SEARCH10 min
- SUBSTITUTE and REPLACE11 min
- Count characters with LENThis lesson10 min
- Put numbers and dates inside text with TEXT10 min
- Extract the domain from an email address9 min
The steps
11 steps: 4 explanations, 4 Do this, 3 questions, then Your turn.
Try a free lesson first
Delete repeated rows from a merged list, and choose which columns decide what counts as a duplicate.
Confident · 9 min · Free, with no sign-up
Do the free lesson on your computer.
Send yourself the link and open it on a laptop or desktop.
On your computer, go tolearnford.com/go/2R5R