What does it do?

Gives you the number of characters of the text

Formula breakdown:

=LEN(text)

What it means:

=LEN(text that you want to get the number of characters)


There are times when you need to get the number of characters within a cell in Excel.  Thankfully this is very easy to do with Excel’s LEN (Length) formula!

You can use the LEN function in Excel to count all characters in a cell, including letters, numbers, special characters, and all spaces.

The LEN function can be used as a data cleansing technique to find leading or trailing spaces or can be nested with other TEXT functions.

I explain how you can do this below:

DOWNLOAD EXCEL WORKBOOK

STEP 1: We need to enter the LEN function next to the cell that we want to get the number of characters from:

=LEN(

 

STEP 2: The LEN arguments:

text

Which text do we want to get the number of characters from?

Reference the cell that contains the text string:

=LEN(C9)

 

STEP 3: Do the same for the rest of the cells by dragging the LEN formula all the way down using the left mouse button.

Note that you are able to get the number of characters for each name. My name has 16 characters!

HELPFUL RESOURCE:

oztraining_728x90

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Share on Facebook

Tweet about this on Twitter

Share on LinkedIn

Share on Google+

Related Posts

Replicating Excel’s LEN Function with M in P... Power Query lets you perform a series of steps to transform your Excel data. There are times when we want to do things that are not built in the user interface. This is possible with Power Query's programming language, which is M.Unfortunately not all of Excel's formulas can ...
Excel Subtotal Function – Avoid Double Count... What does it do?It returns a Subtotal in a list or databaseFormula breakdown:=SUBTOTAL(function_num, ref1)What it means:=SUBTOTAL(function number 1-11 includes manually-hidden rows & 101-111 excludes them, your list or range of data)***Go to the bottom...
Calculate Elapsed Time in Excel When you have two points in time and you want to calculate the amount of time elapsed, then you will need to use Excel´s TEXT functionSometimes data gets dumped into Excel with the following date & time format:24/01/2015  19:48:00.Using the TEXT function and enter...
How To Use INDEX-MATCH Formula The VLOOKUP formula searches for a value in the first column of an array and returns a value to the right of that array.How about if you wanted to return a value to the left hand side of that array?Well, this is where the INDEX-MATCH formula comes in and gives you a helpi...