Intro
Learn to remove first two characters in Excel using formulas, functions, and text manipulation techniques, including LEFT, RIGHT, and MID functions, to edit and format data efficiently.
The importance of text manipulation in Excel cannot be overstated, as it allows users to clean, format, and analyze data more efficiently. One common task that users encounter is the need to remove the first two characters from a string of text. This can be necessary for a variety of reasons, such as correcting formatting errors, removing unwanted prefixes, or standardizing data entries. Fortunately, Excel provides several methods to accomplish this task, catering to different levels of complexity and user preference.
Removing the first two characters from a cell can significantly impact the readability and usability of the data. For instance, if a dataset contains product codes with a prefix that is no longer relevant, removing this prefix can make the codes easier to understand and work with. Similarly, in text analysis, removing leading characters can help in focusing on the core content of the text. The ability to efficiently manipulate text data is a crucial skill for anyone working with Excel, as it enables the extraction of valuable insights from raw data.
The process of removing the first two characters in Excel can be approached in several ways, including using formulas, Excel's built-in text functions, or even leveraging the power of VBA macros for more complex operations. Each method has its own advantages and is suited to different scenarios, making Excel a versatile tool for text manipulation. Whether you are a beginner looking to learn the basics of text manipulation or an advanced user seeking to optimize your workflow, understanding how to remove the first two characters from a cell is an essential skill.
Understanding the Problem

Before diving into the solutions, it's crucial to understand the context and the nature of the data you are working with. The need to remove the first two characters could arise from various scenarios, such as data import errors, formatting inconsistencies, or the presence of unwanted prefixes. Identifying the root cause of the issue can help in selecting the most appropriate method for removing the characters.
Identifying the Root Cause
Identifying why the first two characters need to be removed is the first step. This could be due to incorrect data entry, a formatting requirement, or the removal of a specific prefix that is no longer needed. Understanding the reason behind the task can help in choosing the most efficient method.Method 1: Using Formulas

One of the most straightforward methods to remove the first two characters from a cell in Excel is by using formulas. The MID function, combined with the LEN function, can be particularly useful for this purpose. The formula =MID(A1,3,LEN(A1)-2) can be used, where A1 is the cell containing the text from which you want to remove the first two characters. This formula works by starting from the third character (since the first two are to be removed) and then taking all characters until the end of the string.
How the Formula Works
- The MID function extracts a specified number of characters from a text string. - The LEN function returns the length of a text string. - By using 3 as the starting point in the MID function, you effectively skip the first two characters. - LEN(A1)-2 ensures that you capture all characters after the first two until the end of the string.Method 2: Using VBA Macros

For users who are comfortable with programming or need to perform this operation on a large scale, VBA macros offer a powerful solution. A macro can be written to iterate through selected cells and remove the first two characters from each. This method is particularly useful for batch processing and can significantly reduce the time spent on manual data cleaning.
Creating a VBA Macro
1. Open the Visual Basic Editor by pressing Alt + F11 or navigating to Developer > Visual Basic. 2. Insert a new module by right-clicking on any of the objects for your workbook listed in the "Project" window and choosing Insert > Module. 3. Write a subroutine that loops through the selected range and applies the necessary string manipulation.Sub RemoveFirstTwoChars()
Dim cell As Range
For Each cell In Selection
If Len(cell.Value) > 2 Then
cell.Value = Mid(cell.Value, 3, Len(cell.Value) - 2)
End If
Next cell
End Sub
Method 3: Using Excel's Text to Columns Feature

Another approach to removing the first two characters involves using Excel's Text to Columns feature, though this method is more suited to situations where the data can be split based on a delimiter. If the first two characters can be considered as a prefix that is consistently followed by a specific character (like a space), you can use this feature to split the text and then remove the unwanted part.
Steps to Use Text to Columns
1. Select the range of cells you want to split. 2. Go to the Data tab > Text to Columns. 3. Choose Delimited Text and click Next. 4. Select the delimiter that follows the first two characters (if applicable). 5. Click Finish to split the text.Method 4: Using Power Query

For more advanced users, Power Query offers a robust method to remove the first two characters from a text string. This involves loading the data into Power Query, applying the necessary transformation, and then loading the result back into Excel.
Applying the Transformation in Power Query
1. Select the range of cells and go to the Data tab > From Table/Range. 2. In the Power Query Editor, add a new column or modify the existing one using the formula = Text.Middle([Column Name], 2, Text.Length([Column Name]) - 2). 3. Load the query back into Excel.Text Manipulation Image Gallery










How do I remove the first two characters from a cell in Excel?
+You can use the formula =MID(A1,3,LEN(A1)-2), where A1 is the cell containing the text. Alternatively, you can use VBA macros, Text to Columns, or Power Query for more advanced scenarios.
What is the purpose of the MID function in Excel?
+The MID function extracts a specified number of characters from a text string, starting from a specified position.
How do I use VBA macros to remove the first two characters from a range of cells?
+You can write a subroutine that loops through the selected range and applies the necessary string manipulation using the Mid function.
In conclusion, the ability to remove the first two characters from a cell in Excel is a valuable skill that can enhance data cleaning, analysis, and presentation. By mastering the various methods available, including formulas, VBA macros, Text to Columns, and Power Query, users can efficiently manipulate text data to meet their specific needs. Whether you are working with simple text strings or complex datasets, understanding how to remove unwanted characters can significantly improve the quality and usability of your data. We invite you to share your experiences, tips, and questions regarding text manipulation in Excel, and to explore the wealth of resources available for further learning and improvement.