RIGHT
Supported, behaves as documentedCategory: Text · Last tested 2026-08-06
Real, executed compatibility results for the RIGHT function across Microsoft Excel, Google Sheets, and LibreOffice Calc — verified by actually running it. Syntax and links to each vendor’s official documentation are below.
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (25.8.7.3, 2026-08-06) | Supported, behaves as documented |
LibreOffice version history
We executed the same test cases under each LibreOffice release to show exactly when RIGHT’s support changed — not documentation claims, real results.
| LibreOffice version | Verdict | Tested |
|---|---|---|
| 24.2.0.3 | Supported, behaves as documented | 2026-07-19 |
| 24.8.7.2 | Supported, behaves as documented | 2026-07-19 |
| 25.2.0.3 | Supported, behaves as documented | 2026-07-24 |
| 25.8.7.3 | Supported, behaves as documented | 2026-08-06 |
Executed test cases
LibreOffice Calc 25.8.7.3 (tested 2026-08-06)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =RIGHT(A1) | num_chars omitted defaults to 1 | l | l | Matched |
| =RIGHT(A1,3) | Basic extraction of the last 3 characters | cel | cel | Matched |
| =RIGHT(A1,100) | num_chars larger than the string length returns the whole string, not an error | Excel | Excel | Matched |
| =RIGHT(A1,0) | num_chars=0 returns an empty string | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation
Related how-to recipes
- How to extract the file name from a path or URL
- How to extract the last word from a cell
- How to remove the first N characters from a cell