How to Remove Apostrophe in Excel?

Unwanted apostrophes can creep into Excel worksheets when copying data from Word or a website, or even from a simple typo. These apostrophes are often hidden and can be tricky to spot. They only show up in the formula bar or when you double-click a cell. This article will show you five easy ways to get rid of unwanted apostrophes from your Excel worksheet.


Method 1 – Using Find and Replace Command to Remove Apostrophe in Excel

Steps:

  • Select the data range B5:B12.

Sample Data Set

  • Press Ctrl+H.
  • In the dialog box, enter apostrophe(‘) in the Find what box and keep the Replace with box empty.
  • Click on Replace All.

Opening Find and Replace dialog box

  • It will remove all the apostrophes from the selected range of cells.

Showing Result by Using Find and Replace Command to Remove Apostrophe in Excel

Read More: How to Remove Asterisk in Excel


Method 2 – Using Paste Special Feature to Remove Apostrophe in Excel

To remove an apostrophe if it is placed before a numeric value,

Steps:

  • Select the data range C5:C12.

Note: When you enter an apostrophe before a number, it will look like the Quantity column in the image below.

Sample Data Set

  • Right-click on the selected data range.
  • Select Copy from the context menu.

Copying Values

  • Click on cell D5.
  • Press Ctrl+Alt+V.
  • A dialog box named Paste Special will open up.
  • Click on the Values radio button from the Paste options.
  • Click OK.

Using Paste Special Feature to Remove Apostrophe in Excel

  • All apostrophes will be removed from the selected range.

Showing Result by Using Paste Special Feature to Remove Apostrophe in Excel

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


Method 3 – Applying Text to Columns Command to Remove Apostrophe in Excel

Steps:

  • Select the data range C5:C12.
  • Click as follows: Data > Data Tools > Text to Columns.

Sample Data Set Applying Text to Columns Command

  • In the dialog box, check if the delimited radio button is selected by default.
  • Click Finish.

Opening Convert Text to Columns Wizard

  • All apostrophes will be removed from the selected range.

Showing Result by Applying Text to Columns Command to Remove Apostrophe in Excel


Method 4 – Inserting VALUE Function to Remove Apostrophe in Excel

We can use a formula to remove apostrophes in Excel using the VALUE function. The VALUE function converts a text value that looks like a number to a number.

Steps:

  • Select cell D5.
  • Enter the following formula.

=VALUE(C5)

  • Press the Enter button to get the result.

Inserting VALUE Function to Remove Apostrophe in Excel

  • Double-click the Fill Handle icon to copy the formula to the remaining cells in the column.

Using Fill Handle tool

  • The new column will display the numbers without the apostrophes.

Showing Result by Inserting VALUE Function to Remove Apostrophe in Excel


Method 5 – Embedding VBA Code to Remove Apostrophe in Excel

Steps:

  • Select the data range C5:C12.

Sample Data Set

  • Press ALT+F11  to open up the VBA editor.
  • Go to Insert ▶ Module.

Opening VBA Window

  • Enter the codes given below.

Sub DeleteApostrophe()
For Each cell In Selection
cell.Value = Replace(cell.Value, "'", "")
Next cell
End Sub

  • Press the Run icon to run the codes.

Embedding VBA Code to Remove Apostrophe in Excel

  • All apostrophes will be removed from the selected range.

Showing Result by Embedding VBA Code to Remove Apostrophe in Excel


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!
Md. Sourov Hossain Mithun
Md. Sourov Hossain Mithun

Md. Sourov Hossain Mithun, an Excel and VBA Content Developer at Softeko's ExcelDemy project, joined in October 2021. Holding a Naval Architecture & Marine Engineering degree from BUET, Mithun showcases expertise during his two-year tenure. With over 200 published articles on Excel topics, he earned a promotion to Team Leader, excelling in leading diverse teams. Mithun's passion extends to Advanced Excel, Excel VBA, Data Analysis, and Python programming, contributing significantly to the innovative and dynamic environment of ExcelDemy... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo