- Advanced Excel Functions Tutorial
- Advanced Excel Functions - Home
- Compatibility Functions
- Advanced Excel Functions - Cube
- Database Functions
- Date & Time Functions
- Engineering Functions
- Financial Functions
- Information Functions
- Advanced Excel Functions - Logical
- Lookup & Reference Functions
- Math & Trignometric Functions
- Statistical Functions
- Useful Resources
- Quick Guide
- Useful Resources
- Discussion
Advanced Excel Statistical - LEN Function
Description
LEN returns the number of characters in a text string.
LENB returns the number of bytes used to represent the characters in a text string. It counts 2 bytes per character only when a DBCS language is set as the default language. Otherwise LENB behaves the same as LEN, counting 1 byte per character.
The languages that support DBCS include Japanese, Chinese (Simplified), Chinese (Traditional), and Korean.
Syntax
LEN (text) LENB (text)
Arguments
Argument | Description | Required/ Optional |
---|---|---|
Text | The text whose length you want to find. Spaces count as characters. | Required |
Applicability
Excel 2007, Excel 2010, Excel 2013, Excel 2016
Example
advanced_excel_statistical_functions.htm
Advertisements