While working with Microsoft Excel, did you get any situation where you need to count the number of characters in a cell or string? I believe most of your answers are YES. In the said scenario “LEN” function will help you to find the solution. We will be learning the Microsoft Excel “LEN” in detail, so stay with us and continue reading…
=LEN(text)
text argument, is used for counting number of characters in available string.
LEN Function has only one argument i.e. text, which makes the function easy to apply and understand. We need to give the cell reference of the string to the text argument.
If cell reference is not correctly provided in the function, then it will give output as “#VALUE!” (Error). So always ensure that function parameters are correctly applied to get the appropriate results/output.
LEN function is very advantageous in many ways. It helps for the document where count of characters from an available string is required. Counting characters from an available string manually (one by one) in a report is very difficult and LEN Function helps to apply the function in large database at once and makes the work easy, saves time and increases efficiency.
– Number formatting will be ignored i.e. $10,000.00 output result will be 5 (for 10000) ignoring “$”/”,”/”.00” number formatting
– Space available in a string is counted as character
– Function should give output in “General” format, however if output is not as per the desired format then we need to change the cell format to “GENERAL”.
text argument, “Column A” contains strings and characters needs to be counted.
Explanation:
– Cell “A2” has string i.e. “Happiness” with total 9 characters as per function output in cell “B2
– Cell “A5” has string i.e. “Happiness + 2 spaces” that is why function output is 11 as per cell “B5”
– Cell “A9” has numeric value i.e. 10000 with number formatting, output returns value ignoring number formatting i.e. $/,/.00
Hope you learnt this Function,
Don’t forget to leave your valuable comments!
If you liked this article and want to learn more similar tricks, please Subscribe us or follow us on Social Media by clicking below buttons:
TRIM function is used to remove the additional spaces (i.e. spaces before/after/between the words) except for single space between words.
Watch: How to use SUMIF & SUMIFS Function in Excel? What is SUMIF Function? The SUMIF function in Excel adds up values in a range of cells that meet certain criteria. Click here to Read Full…
WEEKDAY function applies to a Date and returns the output for Day of the week. The output of the function varies from 0 to 7
This guide shows how to use the nested IF function in Excel to check several conditions. You will also learn about other functions that can be to use than a nested formula.
When you want to make decisions in Excel, you often use an IF formula. It checks if something is true, then gives one result if it is and another result if it isn’t. If you need to check more than one thing, you can put many IFs inside each other.
Although using multiple IFs is common, it’s not the only way to check several conditions in Excel. This guide will introduce you to some easier and useful alternatives.
COLUMN function is used to get the column reference number of the excel worksheet. COLUMN Function has only one argument.
How to use the compound interest formula in Excel and gives examples of how to calculate the future value of an investment with yearly, monthly, or daily interest. It also shows you step-by-step how to make your own Excel compound interest calculator.
Very well explained LEN function.