Texteasy
LEFT()
Returns a substring from the beginning of a specified string.
Syntax
fx
=LEFT(string, [number_of_characters])
Try it
F2
β
Acme
Sample data Β· sales.csv
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Company | Region | Quarter | Revenue |
| 2 | Acme Co | West | Q1 | 18,400 |
| 3 | Acme Co | West | Q2 | 22,100 |
| 4 | Acme Co | West | Q3 | 31,700 |
| 5 | Acme Co | West | Q4 | 48,200 |
| 6 | Globex | East | Q1 | 14,200 |
| 7 | Globex | East | Q2 | 19,800 |
| 8 | Globex | East | Q3 | 23,400 |
Common pitfalls
- Negative or zero second-arg returns an empty string. To handle missing args defensively, default with
LEFT(x, IFERROR(n, 0)). - Counts UTF-16 code units, not bytes. CJK characters count as one, but emoji using surrogate pairs (e.g. π, π) count as 2:
LEFT("πabc", 2)may return only the first half of the emoji.
Related formulas
Used by