LEFT
Syntax Structure
=LEFT(text, [num_chars])Returns the first character or characters in a text string.
Live Interactive Spreadsheet
⚡ All Excel Versions
Extract country prefix from Order codes.
| # | A (Order Code) | B (Country Code) | C (Amount) |
|---|---|---|---|
| 2 | USA-9921 | USA | 1400 |
| 3 | CAN-8812 | CAN | 890 |
| 4 | GBR-7721 | GBR | 2100 |
String Extraction with LEFT
Extract country codes, prefixes, and initials from text fields.
💡 Pro Tip / Best Practice
Combine with LEN and FIND for dynamic substring extraction.