While working with Microsoft Excel, did you get a situation where you need to extract the Left side of characters from a string? I believe most of your answers are YES. In the said scenario “LEFT” function will help you to find the solution. We will be learning the Microsoft Excel “LEFT” in detail, so stay with us and continue reading…
LEFT function is used for extracting the “Left Most” characters from the available string. The output of the function returns the extracted characters in new cell.
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”.
LEFT Function has two arguments i.e. text and num_chars where we need to give the cell references and parameters (i.e. count of characters required from left side in number format), we can give the parameters as per the requirement by following the “ , “ (i.e. Comma) as separator.
If parameters are not separated by “ , “ (i.e. Comma) or quotation mark is/are missing or any other function error then it will give output as “#VALUE!” (Error). So always ensure that function parameters are used to get the appropriate results/output.
=LEFT(text,num_chars)
text argument, is used to give the cell reference from which characters should be extracted
num_chars argument, is used to give the numeric value of total count of characters you want to extract from left side of a string
LEFT function is very advantageous in many ways. It helps for the document where extracting of characters from an available string is required. Extracting characters from an available string manually (one by one) to a report is very difficult and LEFT Function helps to apply the function in large database at once and makes the work easy, saves time and increases efficiency.
Suppose we have a column with Country names and there is requirement of extraction of first Left three character. We will be following LEFT function as follows:
“text argument”: “A2” is the cell reference from which characters should be extract
“num_char argument”: “3” is the total number of count of characters required from left side
Explanation: We can see in cell “A2” has string as “INDIA” and left function extracted total 3 characters from a sting and “IND” is returned as output in cell “B2”
– Spaces available in a string is counted as characters
– Currency symbols (Number Formatting) are not counted as characters and will be ignored by the function
– If “num_chars argument” field is blank, it will be counted as 1 (by default) and 1st character of the string will return as output
– “num_chars argument” should not be a negative value otherwise function output will return to “#VALUE!” (Error)
– If value in “num_chars argument” is greater than the total count of characters in a string, then function’s output will return the complete string.
The only thing worse than wrong data in your spreadsheet is Empty Cells. If these blanks aren’t filled, they can cause problems when using formulas. I usually fill these empty cells with 0 or “NA”…
In this article we will learn about VBA code to get computer name. Excel VBA, or Visual Basic for Applications, is a programming language that can be used to automate tasks within the Microsoft Excel…
While starting Excelsirji.Com, it is always been critical for me to find the best to amaze the viewer experience. So I spent many hours on web to read, explore amazing excel content which I really…
How to find duplicates in excel? Hope you read the post “Remove Duplicates in Excel”. Now I am going to explain how you can find these duplicates. There are multiple methods available to Find and…
Excel Dark mode reduces eye strain and makes the screen more comfortable to work on in high-contrast settings. Follow this easy tutorial to enable dark mode for both the Excel interface and the spreadsheet cells.
Watch Video: Rand and Randbetween Excel Functions Generate Random Numbers using Excel Functions We have got many instances where we needed to generate a random database or values. “RAND function” is very useful for users…