Trim long text to a fixed length for tidy reports and labels, adding "…" only when it’s actually shortened. Short entries stay untouched.
The example
Long titles clipped to 20 chars.
| A | B | |
|---|---|---|
| 1 | Text | Clipped |
| 2 | A very long title here | A very long title he… |
The formula
The formula:
How it works
How it works:
LEN(A2) > ntests whether the text actually exceeds the limit.- If so,
LEFT(A2, n) & "…"takes the first N characters and appends an ellipsis. - If not, the original text is returned unchanged — no needless ….
- Break on a word boundary by finding the last space within the limit for cleaner clips.
Clip on a space for readability. Cutting mid-word looks rough. LEFT(A2, FIND("~", SUBSTITUTE(A2, " ", "~", …)))-style tricks find the last space before the limit so the ellipsis lands between words. For dashboards, plain character-count clipping is usually fine; for prose, word-boundary clipping reads better.
Try it: interactive demo
Text and max length.
Variations
No ellipsis
Hard clip:
Show remaining count
+N more:
Word-safe clip
Last space:
Pitfalls & errors
Only clip when needed. The IF avoids adding … to short text.
Ellipsis counts. The result is N+1 characters with the … — reduce N if a hard cap matters.
Mid-word cuts. Use word-boundary clipping for prose.
Practice workbook
Frequently asked questions
How do I truncate text with an ellipsis in Excel?
How do I avoid cutting mid-word?
How do I show how much was cut?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class