TX Sheet Control

LEFT Function

Function

Return the first characters of a text. text is the text, a number is converted to text first, and num_chars is the number of characters (1 when omitted). A num_chars larger than the length returns the whole text, and a negative one returns #VALUE!.

Syntax

LEFT(text, num_chars)

Category: Text. Minimum arguments: 1. Maximum arguments: 2.

Available for supported offline calculation.

Examples

=LEFT("Spreadsheet",6)

The formula returns Spread.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also