How to delete string after nth character in Excel?
In Excel, you might often need to manipulate text strings by removing characters after a specific position. For example, you might want to truncate a string after the nth character to standardize data formats or clean up imported text. This guide will explore two effective techniques for deleting characters after the nth position in a string: using formulas and Kutools for Excel.
![screenshot of deleting characters after the nth character](http://cdn.extendoffice.com/images/stories/doc-excel/delete-after-nth-character/doc-delete-after-nth-character0.png)
Remove all characters after the nth character with formula
Formulas offer a versatile way to handle text manipulation tasks in Excel, including removing characters after a specific position. This method is useful when you need a dynamic solution that adjusts automatically as your data changes. Here’s how you can use a formula to delete all characters after the nth character in a string:
Assuming you want to delete everything after the 5th character from the data in the following screenshot, here's how to handle it:
![screenshot of deleting characters after the nth character using formula](http://cdn.extendoffice.com/images/stories/doc-excel/delete-after-nth-character/doc-delete-after-nth-character4.png)
Select a blank cell and enter the following formula, press the Enter key and drag the Fill Handle of this result cell down to get the rest of the results.
=LEFT(A1,5)
![screenshot of deleting characters after the nth character using formula 2](http://cdn.extendoffice.com/images/stories/doc-excel/delete-after-nth-character/doc-delete-after-nth-character1.png)
Easily remove the specified number of characters after the nth character
Kutools for Excel offers a more user-friendly approach for removing characters after a certain position, especially useful when dealing with large datasets or when you prefer a tool-based solution. This method simplifies the task with just a few clicks. Here’s how you can use Kutools for Excel to achieve this:
After downloading and installing Kutools for Excel, go to the Kutools tab and select Text > Remove by Positionto open the dialog box, then configure as follows:
- In the Numbers text box, enter the number of characters you want to remove. Tip: If you want to remove all characters after the nth character, you can enter a very large number, such as 999, to ensure that all characters following the nth character are removed.
- Select the Specify start Position option, then enter the number representing the position from which you want to start removing characters. In this case, to remove characters after the 5th character, enter the number 6. This specifies that character removal will start from the 6th character.
- Click OK
Result
Then, the specified number of characters after the 5th character will be removed from each cell in the selected range.
![result screenshot of deleting characters after the nth character using kutools](http://cdn.extendoffice.com/images/stories/doc-excel/delete-after-nth-character/doc-delete-after-nth-character3.png)
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
![Screen Shot of Excel (with Office Tab installed)](http://cdn.extendoffice.com/images/stories/kte-module/officetab-bottom-02.gif)
![sunil](http://cdn.extendoffice.com/media/com_easydiscuss/images/default_avatar.png)
![Sunny](http://cdn.extendoffice.com/media/com_easydiscuss/images/default_avatar.png)
![sunil](http://cdn.extendoffice.com/media/com_easydiscuss/images/default_avatar.png)
![Kelly](http://cdn.extendoffice.com/media/com_easydiscuss/images/default_avatar.png)