Number Text Format

  • Thread starter Thread starter evoxfan
  • Start date Start date
E

evoxfan

I have a column of numbers formatted as text such as:
099.600
'101.550
102.000
'104.430
105.500

Some numbers have an apostrophe in front and some do not.

I would like to make all the numbers in this column consistent without the
apostrophe. I would also like to keep them as text since converting them to
numbers would likely get rid of the first character for numbers less than 100.

What is the best way to accomplish this?

Thanks in advance for your help.
 
You could create a helper column. Use the formula =TEXT(A2,"000.000").
copy/paste the formula next to all of your data, then copy and paste the
values of the formulas.
 
First, select all of the cells with these numbers in them, then format your
cells as text, then press Alt+F11 and execute this statement in the
Immediate window (press Alt+G if you don't see the Immediate window)...

Selection.Value = Selection.Value
 
Back
Top