How to Remove Semicolon in Excel?

Method 1 – Removing Ending Semicolon from Cells

In the dataset below (B4:B9) containing some Microsoft Product names, there is a semicolon at the end of every cell value. Let’s use an Excel formula with the combination of LEFT function, LEN function & RIGHT functions to remove them.

Remove Ending Semicolon from Cell in Excel

STEPS:

  • In cell C5, enter the following formula:
=LEFT(B5,LEN(B5)-(RIGHT(B5)=";"))

Remove Ending Semicolon from Cell in Excel

  • Press Enter and use the Fill Handle tool to autofill the cells below.

Read More: How to Remove Non-Alphanumeric Characters in Excel


Method 2 – Using ‘Find and Replace’ Feature to Remove Semicolons

The ‘Find and Replace’ only works on cells containing text, so is suitable for removing semicolons in Excel.

In the following dataset (B4:B9) of Microsoft Products, let’s replace every semicolon with a comma.

Use of ‘Find and Replace’ Feature Removing Semicolon

STEPS:

  • Select the dataset (B4:B9).
  • Go to the Home tab.
  • Select the Find & Select drop-down from the Editing section.
  • Click on Replace.

Use of ‘Find and Replace’ Feature Removing Semicolon

A Find and Replace message box pops up.

  • Go to the Replace tab.
  • In the Find what box, type ‘;’.
  • In the Replace what box, type ’,’.
  • Select the Replace All option.

Use of ‘Find and Replace’ Feature Removing Semicolon

A confirmation window pops up.

  • Click on OK.

All the semicolons are replaced with commas.


Method 3 – Using the SUBSTITUTE Function to Remove Semicolons

The SUBSTITUTE function replaces specified old text with specified new text. In our dataset (B4:B9) of Microsoft Products, let’s use the SUBSTITUTE function to replace the semicolons with commas and return the results in the range C4:C9.

Insert SUBSTITUTE Function to Remove Semicolon

STEPS:

  • Select cell C5 and enter the following formula:
=SUBSTITUTE(B5,";",",")

Insert SUBSTITUTE Function to Remove Semicolon

  • Press Enter and use the Fill Handle tool to copy the formula to the cells below.

All semicolons are replaced successfully with commas.


Method 4 – Using the ‘Text to Columns’ Wizard to Remove Semicolons and Separate Text into Columns

The ‘Text to Column’ wizard separates text cells into multiple columns using specified delimiters. In the below dataset (B4:D9) of Microsoft Products, let’s remove the semicolons by splitting the text into columns (PRODUCT1 & PRODUCT2) using the semicolons as delimiters.

Excel ‘Text to Columns’ Wizard to Remove Semicolon and Separate Text into Column

STEPS:

  • Select the data range B5:B9.
  • Go to the Data tab.
  • From the Data Tools section, select the Text to Columns option.

Excel ‘Text to Columns’ Wizard to Remove Semicolon and Separate Text into Column

The Convert Text to Columns Wizard Step 1 window opens.

  • Select the Delimited option.
  • Click on Next.

Excel ‘Text to Columns’ Wizard to Remove Semicolon and Separate Text into Column

  • Tick the Other option from the Delimiters section, and type ‘;’ in the blank box.

We can see the preview in the Data Preview section.

  • Click on Next.

Excel ‘Text to Columns’ Wizard to Remove Semicolon and Separate Text into Column

  • Select General from the Column data format section.
  • Select the Destination where we want to see the result.

In the Data Preview section, we can see the preview of our final dataset.

  • Click on Finish.

The texts are separated into columns and the semicolons are gone.


Download Practice Workbook


Related Articles

<< Go Back To Remove Specific Characters in Excel | Excel Remove Characters | Data Cleaning in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Nuraida Kashmin
Nuraida Kashmin

Nuraida Kashmin, Bachelor's degree in Mechanical Engineering from Rajshahi University of Engineering & Technology. Since 2021, she wrote 45+ articles on Excel problems and reviewed over 1000 articles. Currently working as a Project Manager, she is responsible for developing and implementing content strategies, managing writers and editors, staying updated on new technology, analyzing data, and tracking content performance indicators. Her interests include Project Management, Creative Writing, Digital Marketing, Reporting, Monitoring & Documentation, and Online Advocacy for SAP &... Read Full Bio

2 Comments
  1. Have to say, for a change from these usual spammy sites, that was really useful thanks!

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo