Why it works
- What it does
- LEN returns the number of characters in a cell, spaces included. Use it to check length limits and to spot hidden spaces: a code that should be 7 characters but shows 8 has one. Count after TRIM when the system you send to trims too.
- The shape of the formula
- =IF(LEN(TRIM(text)) > limit cell, "Too long", "")
- How to remember it
- LEN counts what is there, not what you see.
- The usual mistake
- Counting raw pasted text. Trailing spaces push titles over the limit that would actually fit.
Keep practicing
Updated