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!


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

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!
officetab bottom
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.