FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

LEFT in Google Sheets

LEFT with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the LEFT Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

First three characters

A
1Code
2NYC-1042

Formula: C1: =LEFT(A2,3)

Result: NYC

Takes the first three characters of the code.

Middle of the string with MID

A
1Code
2NYC-1042

Formula: C1: =MID(A2,5,4)

Result: 1042

Starts at character 5 and takes 4 characters.

Everything before the @

Formula: C1: =LEFT(A2,FIND("@",A2)-1)

Result: sam

FIND returns the position of @ (4); subtracting 1 leaves the characters before it.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in D2: =LEFT(A2,5)

Example spreadsheet for LEFT
ABCD
1TextOtherResult
2Alice Johnsonalice johnsonAlice
3[email protected][email protected]
4 extra spaces
5SKU-2026-0415
6iced coffee, tea, sugar
7Order 417 shipped
Result in D2: Alice
Practice this in a lesson: Splitting Strings

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.