View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Sean Timmons Sean Timmons is offline
external usenet poster
 
Posts: 1,696
Default Simple conversion

Go to Format - Cells - Number.

Click on Custom.

In the box, enter 000.000

Highlight your data, Edit - Find

click the Replace tab

In the find, enter -

In the replace field, enter .

Replace All

"evoxfan" wrote:

I have a column of numbers such as:
030-000
033-020
033-030
123-456
I would like to convert these numbers to:
030.000
033.020
033.030
123.456

What is the best way to accomplish this?
I would like to keep six digits even if the number begins with "0" or ends
with "000".

Thanks in advance.