Text formatting question

Cybertech

New Member
Joined
Apr 11, 2011
Messages
7
Office Version
  1. 365
Platform
  1. Windows
I have a column of numbers formatted as text like this:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p> </o:p>
010000<o:p></o:p>
010101<o:p></o:p>
020201<o:p></o:p>
020306<o:p></o:p>
<o:p> </o:p>
I would like them formatted like this:<o:p></o:p>
<o:p> </o:p>
01.00.00<o:p></o:p>
01.01.01<o:p></o:p>
02.02.01<o:p></o:p>
02.03.06<o:p></o:p>
<o:p> </o:p>
Is there an easy way to do the conversion? Nothing I try seems to work.<o:p></o:p>
<o:p> </o:p>
Thanks!<o:p></o:p>
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Welcome to the Board!

You can select the range, then goto Data-->Text to Columns-->Next-->Next-->Under the Column Data Format options choose Date and the format you want, then finish.

HTH,
 
Upvote 0
I have a column of numbers formatted as text like this:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
010000<o:p></o:p>
010101<o:p></o:p>
020201<o:p></o:p>
020306<o:p></o:p>
<o:p></o:p>
I would like them formatted like this:<o:p></o:p>
<o:p></o:p>
01.00.00<o:p></o:p>
01.01.01<o:p></o:p>
02.02.01<o:p></o:p>
02.03.06<o:p></o:p>
<o:p></o:p>
Is there an easy way to do the conversion? Nothing I try seems to work.<o:p></o:p>
<o:p></o:p>
Thanks!<o:p></o:p>
If you convert them to numeric numbers then you can format them like that.

However, if you want them to remain TEXT entries then you'd need a helper formula to do it.

Are those supposed to be dates?
 
Upvote 0
Biff,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p> </o:p>
They are not dates (they are actually part of a document numbering system) and need to remain as text.<o:p></o:p>
<o:p> </o:p>
Thanks!<o:p></o:p>
 
Upvote 0
Biff,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
They are not dates (they are actually part of a document numbering system) and need to remain as text.<o:p></o:p>
<o:p></o:p>
Thanks!<o:p></o:p>
Try this in a helper cell:

=TEXT(A1,"00\.00\.00")
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,258
Members
452,901
Latest member
LisaGo

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
Back
Top