Using ' in front of numbers

jmmarsh

New Member
Joined
May 6, 2002
Messages
32
I have been given a spreadsheet full of employee IDs - someone placed a ' in front of all the IDs however and management wants that removed (I'm thinking someone did it so zeros would show) - is there a mass way to remove the ' from all IDs and have zeros always show also? Thx : ) I did try the find/replace but it doesn't find the ' when searching.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
59,101
Office Version
  1. 365
Platform
  1. Windows
Highlight the column, format as a Numeric option, then go to Data | Text To Columns and click Finish. You just need to do one column at a time.
 

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,016
Office Version
  1. 365
Put a 0 in any unused cell. Copy that cell, select the range with the IDs, and use edit --> paste special --> add.
 

Grizlore

Active Member
Joined
Aug 22, 2006
Messages
259

ADVERTISEMENT

Highlight the entire column
Click EDIT --> REPLACE
Enter the ' in the "find what" box
Leave the "replace with" empty
Click "REPLACE ALL"


Think I've just posted my first solution to someone elses problem!!!

:biggrin:
 

jmmarsh

New Member
Joined
May 6, 2002
Messages
32
yah - I tried that but Excel doesn't recognize the ' as something to replace when using find/replace.

I did find that if you copy the column and do paste special and paste as values that works too : D
 
L

Legacy 51064

Guest
You can save the page as a text file, then reopen it in excel.
 

Forum statistics

Threads
1,141,847
Messages
5,708,959
Members
421,601
Latest member
Garlo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top