Skip to main content

How to remove prefix / suffix from multiple cells in Excel?

Author: Xiaoyang Last Modified: 2024-07-19

Sometimes, you may need to clean up data in Excel by removing prefixes or suffixes from multiple cells. Whether it’s for data consistency or formatting, removing these extra characters can help you standardize your dataset efficiently. In this guide, we'll explore two straightforward methods to achieve this task.

screenshot of removing prefix suffix 1

Remove prefix or suffix from multiple cells with formulas

If you prefer using Excel formulas to remove prefixes or suffixes, Excel provides versatile functions for this purpose. By utilizing functions such as LEFT, RIGHT, and LEN, you can extract the desired parts of your text data.

Remove prefix from cells

The formula provided in this section can be used to remove the same number of prefix,such as the first three characters from specified cells. Please do as follows.

Select a blanl cell, enter the following formula and press Enter. Select this result cell and drag its Fill Handle down to get the rest of the results.

=RIGHT(A2,LEN(A2)-3)
screenshot of removing prefix with formula
Remove suffix from cells

To remove suffix such as the last three characters from cells, try the following formula.

Select a blanl cell, enter the following formula and press Enter. Select this result cell and drag its Fill Handle down to get the rest of the results.

=LEFT(A2,LEN(A2)-3)
screenshot of removing suffix with formula
Notes:In these two formulas
  • A2 is the cell reference where the text you want to manipulate is located. You can change this reference to point to any cell that contains the text you need to edit.
  • -3 represents the number of characters you will remove either from the beginning or the end of the text. If you need to remove a different number of characters, simply replace 3 with the desired number.

Easily remove prefix or suffix from cells with Kutools for Excel

For a quicker and more user-friendly approach, Kutools for Excel offers a powerful tool to remove prefixes and suffixes with just a few clicks. This method is ideal if you want to simplify the process without dealing with complex formulas.

After downloading and installing Kutools for Excel, click Kutools > Text > Remove by Position to open the Remove by Position dialog box. Then you need to configure as follows:

  1. Select the range of cells from which you want to remove the prefix or suffix.
  2. Input the number of characters to be removed in the Number text box.
  3. Specify whether you want to remove the prefix or suffix in the Position section
    Remove the prefix, select the From left option
    Remove the suffix, select the From right option
  4. Click OK
    screenshot of removing prefix and suffix with Kutools
Result

Then, the specified number of prefix or suffix characters will be removed from each cell in the selected range.

result of removing prefix and suffix with Kutools
Note: To use this feature, you should have Kutools for Excel installed on your computer. Go to download Kutools for Excel to get a 30-day free trial with no limitations.

Remove prefix or suffix from multiple cells with Kutools for Excel

 Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Download and free trial Now!

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

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...

Description


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!
Comments (11)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
DELETE - 100 ML (100) I WANT TO ONLY 100 ML
This comment was minimized by the moderator on the site
Thanks. This is good.
This comment was minimized by the moderator on the site
Really helpful
Thank You
This comment was minimized by the moderator on the site
really helpful. thanks!!!
This comment was minimized by the moderator on the site
How do I get the value 1234 for a cell 0001 2314 2571 1234 9874? Please assist on this.
There are no comments posted here yet
Load More
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations