LEFT function

2016-06-04

This function will return the left most characters of a text string based on a number specified.

Syntax

LEFT(Text, Number)

  • Text (required) – This is the text string you want to return the left most characters from.
  • Number (optional) – This is the number of characters you want returned. If no value is entered, only the first character will be returned.

Example

In this example we get the first few characters of a text string. Notice that negative numbers result in a #VALUE! error and non whole numbers are rounded down to the whole integer.

=LEFT(A2,B2)

LEFT

About the Author

John MacDougall

John MacDougall

John is a Microsoft MVP and freelance consultant and trainer specializing in Excel, Power BI, Power Automate, Power Apps and SharePoint. You can find other interesting articles from John on his blog or YouTube channel.

Subscribe

Related Articles

UPPER function

This function will convert text to all uppercase letters. Syntax UPPER(Text)...

read more

LOWER function

This function will convert text to all lower case letters. Syntax LOWER(Text)...

read more

Comments

0 Comments

Get The Latest News

Follow Us

Follow us on social media to stay up to date with the latest tips in Excel!

Pin It on Pinterest