Text
All versions
◉ 16 views
=RIGHTB()
Returns a specified number of characters from the end of text based on bytes
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=RIGHTB(text, [num_bytes])
Hover argument names in the table for details.
Output typeText
Popularity42 / 100
VolatileNo
Dynamic ArrayNo
Download sample .xlsx ▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =RIGHTB() 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)
Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
text |
Text | Required | Source text |
num_bytes |
Number | Optional | Number of bytes from the end — optional, default 1 |
▣ Examples
el
=RIGHTB("Excel",2)
§ Remarks
- تابع RIGHTB تعداد بایت را میشمارد، نه تعداد کاراکترها؛ برای زبانهای تکبایتی نتیجه آن با RIGHT یکسان است.
✦ Tips
- تابع RIGHTB برای زبانهای دو بایتی (DBCS) طراحی شده و هر کاراکتر دو بایتی را دو بایت حساب میکند. در سایر زبانها همانند RIGHT عمل میکند.
💬 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!