LEFT Function Generator

LEFT returns the first N characters from a text string. Useful for extracting prefixes, area codes, initial letters, or fixed-width fields.

Syntax=LEFT(text, [num_chars])
Try it — generate a LEFT formula

Examples

Extract area code from phone

=LEFT(A2, 3)

Returns the first 3 characters — the area code.

First initial from full name

=LEFT(A2, 1)

First letter of the string in A2.

Year from YYYY-MM-DD text

=LEFT(A2, 4)

First 4 chars of an ISO date string.

Tips

Related Formulas

RIGHT

RIGHT returns the last N characters of a text string. Common for grabbing file e...

MID

MID returns a substring from any starting position in a text string. Ideal for e...

FIND

FIND returns the starting position of one text string inside another. Case-sensi...

Need a different formula?

Describe any formula in plain English and FormulaPad will generate it.

Try FormulaPad Free