Text All versions ◉ 4 views

=LENB()

Returns the length of a text in bytes — each double-byte character counts as 2

=LENB(text)
Hover argument names in the table for details.
Output typeText
Popularity45 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =LENB() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
📥 Download LENB.xlsx — Coming soon ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

🧠 🧠 Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
text Text Required Text whose length is calculated in bytes

▣ Examples

5 =LENB("Excel")
8 — each letter 2 bytes =LENB("Hello")

✦ Tips

  • Ordinary LEN counts each character as 1.

⚠ Common Errors

#VALUE! The input is not text
Fix: Enter text

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.