=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.
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.
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.
Imagine you have a list of employee names and you want to extract the first initial of each employee for a report.
| Employee Name |
|---|
| Alice Johnson |
| Bob Smith |
| Charlie Brown |
| David Wilson |
| Eve Davis |
You want to extract the first initial of each employee.
To extract the first initial of each employee, you would use the LEFT formula as follows:
=LEFT(A2, 1)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).
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.
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!
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.
Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.
Browse our complete library of Excel formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.