Help Centre › Functions & Formulas
For a full list of available calculation functions, please read What calculation functions are supported.
This article describes the formula syntax and usage of the LEN function.
Description
LEN returns the number of characters in a text string.
Syntax
LEN(text)
The LEN function syntax has the following arguments:
- text - Required. The text whose length you want to find. Spaces count as characters.
Example
| Formula | Description | Result |
| =LEN({variable}) | Length of the variable (assuming it is "data") | 4 |
| =LEN(data) | Length of the string | 4 |
| =LEN( data ) | Length of the third string, which includes eight spaces | 12 |
Errors
For a full list of formula errors, please read Formula errors.