LEN
Supported, behaves as documentedCategory: Text · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (24.2.7.2, 2026-07-04) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 24.2.7.2 (tested 2026-07-04)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =LEN("Hello") | Basic character count | 5 | 5 | Matched |
| =LEN(A1) | A numeric cell value is coerced to text before its digits are counted | 5 | 5 | Matched |
| =LEN(" Hi ") | Leading and trailing spaces are counted as characters just like any other character | 6 | 6 | Matched |
| =LEN("") | Empty string has length 0 | 0 | 0 | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation