# How To Use Excel LEN Function 2022

By | April 2, 2022
Today’s article guide will walk you through on the steps on How To Use Excel LEN Function easily for 2022
Let’s look at an example or two. The syntax for the formula is =LEN(Text)
See an example text string below:-
Excel is awesome.
Applying the above formula the result would be 17
Here is another example:- howtoexcelatexcel
Applying the above formula the result would be 17
So, just how will this be useful? If you do any data work with Excel, in particular with data importing or data cleansing this function can be invaluable. Imagine you have a set of records to import from one database system to another. The new system you know will not accept a name field longer than certain character length.
You know the fields that have restrictions in the new database, but your old system records did not have such controls. With this information you could easily use Excel LEN function as a method of identifying the name records that were too long in length.
You can insert a additional column to calculate the length of the text string. The records can be sorted using this extra columns that contains the results of the LEN function. Easy.

## Here are the detailed steps to carrying out such an exercise

2. Insert a column to the right of the field you wish to measure
3. Enter a column title in this example ‘name length’
4. Place the Excel cursor in the first cell underneath your column title
5. Formulas Tab
6. Function Library
7. In the search for a function box type LEN
8. Hit Ok
9. Click the cell that contains the text string you want to perform the character count
10. Hit Ok
The result of the count of the text string will be displayed, all you need to do is copy the formula to your other cells in the column.
You can quickly do this by selecting the first cell in your column with the formula, scroll down the column to the last cell in the column you want to analyse.
1. Hit SHIFT-Click in the last cell to select them all.
2. Press CTRL+D to fill with your formula all of the way down the column.
You now have the count of the string of characters in your selected name records and can sort them to identify those which are over the threshold of what is allowed in the new database system. Excel is often thought of as a number cruncher and that’s its limit. LEN is one example of Excels built in functions that can be used to help you work smarter and faster to solve real problems with data.