SheetRocks
Documentation/Formulas/LEFT

LEFT

Returns a substring from the left side of a supplied string.

Syntax

LEFT(string, [num_chars])

Arguments

Argument Description Required
string The string from which to extract number of characters. Required
num_chars The number of characters to extract from the left side of string. Defaults to 1. Optional

Examples

Get first character

=LEFT("Hello World")
Result ⇒ H

Get first 5 characters

=LEFT("Hello World", 5)
Result ⇒ Hello

Extract first name from cell

=LEFT(A1, 4)
Result ⇒ John
A
1 John Doe

Related Functions

Other Text functions:


← Back to Formula Reference