Extract the first characters from a text string.
The LEFT function extracts a given number of characters from the start of a text string. Its syntax is =LEFT(text, num_chars). For example, =LEFT("Excel Beginner",5) returns "Excel".
Extract the first 5 characters of the text in A1 and place the result in B1.
Click cell B1, type your formula and press Enter.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| Text | Result | ||||
| 1 |
Excel Beginner
|
||||
| 2 | |||||
| 3 | |||||
| 4 | |||||
| 5 | |||||
| 6 |