Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

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

doc remove prefix 1

For example, I have the following list of text strings in a worksheet, and now, I want to remove the prefix KTE or suffix –No from the cells to get the below screenshot result. How could I remove the prefix or suffix from multiple cells in Excel at once?

Remove prefix or suffix from multiple cells with formulas

Remove prefix or suffix from multiple cells with Kutools for Excel


Remove first, last or specified position characters from text strings:

Kutools for Excel’s Remove by Position utility can help you to delete the specific characters from beginning, middle or end of the text strings within multiple cells at once.

doc remove prefix 8 8

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


arrow blue right bubble Remove prefix or suffix from multiple cells with formulas


To remove the same number prefix or suffix, you can apply the following simple formulas.

1. Removing the first three prefix characters from the text strings, please enter this formula: =RIGHT(A2,LEN(A2)-3), see screenshot:

doc remove prefix 2

Tips: A2 is the cell that you want to use and the number 3 indicates the leftmost three characters in the text you want to remove. This formula means to remove the leftmost three characters and return other characters of the text string. You can change them to your need.

2. Then press Enter key to return the result, and select the cell C2, drag the fill handle over to the cells that you want to apply this formula, and all the first three prefix characters have been removed from the text strings, see screenshot:

doc remove prefix 3

Notes:

1. To remove the last three suffix characters from the multiple cells, please type this formula: =LEFT(A2,LEN(A2)-3), (it means remove the rightmost three characters from the string, you can change the variables A2 and 3 to your need), and then drag the fill handle down to the cells you need to contain this formula, you will get the following result:

doc remove prefix 4

2. As they are formulas, when you copy and paste them to other cells, make sure to paste them as values to avoid the formula errors.


arrow blue right bubble Remove prefix or suffix from multiple cells with Kutools for Excel

If you have Kutools for Excel, with tis Remove by position feature, you can quickly remove any number characters from the left cell, right cell or certain position in the original range cells.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days

After installing Kutools for Excel, please do as following:( Click to Download Kutools for Excel Now )

1. Select the data range that you want to remove the prefix or suffix.

2. Click Kutools > Text > Remove by Position, see screenshot:

doc remove prefix 5 5

3. In the Remove by Position dialog box:

(1.) To remove the first prefix characters, please specify the number of characters to be removed, and then choose From left under the Position section, see screenshot:

doc remove prefix 6

(2.) To remove the last suffix characters, please specify the number of characters to be removed, and then select From right under the Position section, see screenshot:

doc remove prefix 7

4. Then click Ok or Apply button, you can view the results from the Preview pane at the same time, and you will get your wanted results.

Note: Skip non-text cells: this option will avoid non-text cells from the selected range.

Click to know more about this Remove by Position feature.

Click to Download Kutools for Excel and free trial Now!


arrow blue right bubble Remove prefix or suffix from multiple cells with Kutools for Excel

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


Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    JE · 2 months ago
    Thanks. This is good.
  • To post as a guest, your comment is unpublished.
    Babitha · 2 months ago
    Really helpful
    Thank You
  • To post as a guest, your comment is unpublished.
    amit · 1 years ago
    really helpful. thanks!!!
  • To post as a guest, your comment is unpublished.
    Saranya KP · 1 years ago
    How do I get the value 1234 for a cell 0001 2314 2571 1234 9874? Please assist on this.
  • To post as a guest, your comment is unpublished.
    Pisti · 1 years ago
    With Kutools it worked like a charm! Big thanks!