Inserting . in a number

J

JC

I need to insert a . in a group of numbers:
before 123456789123
after 1234.5678.9123

Any ideas.
 
F

Frank Kabel

Hi
one way (if A1 stores this number):
=LEFT(TEXT(A1),4) & "." & MID(TEXT(A1),5,4) & "." & RIGHT(TEXT(A1),4)
 
T

Trevor Shuttleworth

JC

add a column and put this formula in the top cell:

=LEFT(A2,4)&"."&MID(A2,5,4)&"."&RIGHT(A2,4)

This assumes your data is in column A and starts in cell A2. Drag the
formula down. Select the new column of data. Copy it and then Paste
Special | Values back over itself. You can then copy the data over the
original if you wish.

Regards

Trevor
 
J

JC

Frank, you are the man!! Thanks!!
-----Original Message-----
JC

add a column and put this formula in the top cell:

=LEFT(A2,4)&"."&MID(A2,5,4)&"."&RIGHT(A2,4)

This assumes your data is in column A and starts in cell A2. Drag the
formula down. Select the new column of data. Copy it and then Paste
Special | Values back over itself. You can then copy the data over the
original if you wish.

Regards

Trevor





.
 
Top