Excel LEFT Function: Syntax, Examples & Tips

The LEFT formula extracts a specified number of characters from the start of a text string in Excel, allowing for easy customization.
Excel
=LEFT(text, [num_chars])

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Need more than a single LEFT formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.

On this page
  1. Parameters
  2. What is a LEFT Formula in Excel?
  3. A Practical Example
  4. LEFT Formula
  5. Result of the Formula
  6. Why Use LEFT?
  7. Key Takeaways:
  8. Example use case

Parameters

text:
The string from which you want to extract the leftmost characters. This can be a text string, a cell reference, or a formula that returns a text string.

num_chars:
The number of characters you want to extract from the left side of the text. This must be a positive integer. If omitted, it defaults to 1.

What is a LEFT Formula in Excel?

The LEFT function in Excel is a simple yet powerful tool that allows you to extract a specified number of characters from the beginning of a text string. This function is particularly useful when you need to isolate specific parts of a text, such as extracting initials, codes, or any other substring from a larger string.

In simpler terms, the LEFT function helps you manipulate text data by pulling out the leftmost characters, making it easier to analyze or format your data.

A Practical Example

Imagine you have a list of employee names and you want to extract the first initial of each employee for a report.

Employee Data Table:

Employee Name
Alice Johnson
Bob Smith
Charlie Brown
David Wilson
Eve Davis

You want to extract the first initial of each employee.

LEFT Formula

To extract the first initial of each employee, you would use the LEFT formula as follows:

Excel
=LEFT(A2, 1)

Breakdown of the Formula:

  • A2: This is the cell containing the text string (employee name) from which you want to extract characters.
  • 1: This is the number of characters you want to extract from the left side of the text string.

Result of the Formula

When you apply the formula to each employee name, you will get the following results:

First Initial
A
B
C
D
E

Here, the first initials are extracted as A (Alice), B (Bob), C (Charlie), D (David), and E (Eve).

Why Use LEFT?

The LEFT function is particularly useful when you need to extract specific parts of text data without manually editing each entry. It allows you to efficiently manipulate text strings and prepare your data for further analysis or reporting.

Key Takeaways:

  • LEFT: Extracts a specified number of characters from the beginning of a text string.
  • Efficient Text Manipulation: Helps you quickly isolate parts of text data without complex formulas.
  • Common Use Cases: Ideal for extracting initials, codes, or any substring from larger text strings.

Understanding how to use the LEFT function can significantly enhance your text data manipulation capabilities in Excel, enabling you to format and analyze your datasets more effectively.

Happy extracting!

Example use case

You have a table where Column A contains product codes and you want to extract the first three characters of each code to categorize them. You can use the LEFT function to create a new column that displays these first three characters. This allows for easier sorting and filtering of products based on their categories, facilitating inventory management and reporting without the need for more complex text manipulation functions.

Beyond the LEFT function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.

Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.

Need more help with Excel formulas?

Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.

Explore all Excel formulas

Browse our complete library of Excel formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.

LEFT Function in Excel - Better Analyst