LEFT Function in Excel
In this blog post we will learn about LEFT function in excel. With the help of this function we can extract number of characters from the beginning of the text string.
Once we click on LEFT option as highlighted above, we will get the function argument dialog box as shown in below image:
Now, we want to extract first 4 characters from each Employee ID. To do this we can use LEFT function.
Where to find LEFT function on Excel Screen:
LEFT function can be found under “Text Function” category under “Formula Tab” as shown in below image:
Once we click on “Text” category, we can see list of various Text Functions available in excel. LEFT function is highlighted in red in below image.
Syntax of LEFT Function:
The Syntax of LEFT function is as below:
=LEFT(text,[num_chars])
Arguments of LEFT Function:
To use the LEFT function we have to use 02 arguments:
Text: This is mandatory argument. We have to select the text from which we have to extract the number of characters from the beginning of the text string.
Num_chars: In this argument, we have to specify the number of characters which we want to extract from beginning of selected text string.
Example of LEFT Function:
Let’s learn about this function with the help of simple example. We have listed Employee ID in column A as shown in below image.
For this, select the cell in which we want to extract first 04 characters. In this case we have selected cell “B2”. In cell B2 enter formula as shown in below image.
In this way, we can use LEFT function in excel.
Comments
Post a Comment