LEN function. Length of a character string.(Microsoft Excel)
The LEN function gets the number of characters in a text.
Because it is faster and more accurate than counting by eye, it has a great effect by itself and is a useful function with a wide range of applications.
Contents
- 1. How it works
- 2. Demonstrate
- 3. Spill
- 4. Links
- 4.1. Microsoft Excel Functions Text
- 4.2. Examples of Use
- 4.2.1. Formulas to randomly reorder a range of cells.
- 4.2.2. Formulas to extract text from a cell every specified number of letters.
- 4.2.3. Formulas to sort text in cells.
- 4.2.4. Formula to split text into cells one character at a time.
- 4.2.5. How to reverse text.
- 4.2.6. How to extract only numbers from text.
- 4.2.7. Formula for extracting URL parameter values.
- 4.2.8. Formula to remove URL parameters or only URL parameters.
- 4.2.9. How to display file and sheet names in cells.
- 4.2.10. How to change the cell color to detect when a certain number of characters are exceeded.
- 4.2.11. Formulas to search from with the FIND function.
- 4.2.12. Formula to find out how many strings are contained.
- 4.2.13. Formulas to extract characters before, after, or between specific strings.
- 4.2.14. Formula to search for line break in a cell with the FIND function.
How it works
=LEN(string)
Name | Omission | Explanation |
---|---|---|
string | Required argument. Text that counts the number of characters. |
Demonstrate
Both one-byte and two-byte characters are counted as one character.

Control characters are also counted as a single character.
Therefore, if there is a line break in a cell, it is also counted as one character.

Spill
If you specify range of cells in string, it will be a Spill.

---
Discussion
New Comments
No comments yet. Be the first one!