Hi everyone,
I have this no. 256587815212 and I would like to add: to every two digits of it. Meaning I need it like 25:65:87:81:52:12
There is column that has random values and I need to do the same thing to the whole column.
Thanks,
Hi everyone,
I have this no. 256587815212 and I would like to add: to every two digits of it. Meaning I need it like 25:65:87:81:52:12
There is column that has random values and I need to do the same thing to the whole column.
Thanks,
Last edited by centro; 11-16-2012 at 07:39 PM.
Are all the numbers the same length?
Please click * to add to my reputation!
They are all same...
some1 will probably come up with a fancy custom formatting for you, but this will work as well...
=LEFT(A1,2)&":"&MID(A1,3,2)&":"&MID(A1,5,2)&":"&MID(A1,7,2)&":"&MID(A1,9,2)&":"&MID(A1,11,2)
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Formula:Please Login or Register to view this content.
Dang nabbit! Good thing I'm not a gunfighter!
Another way:
=TEXT(A1, "00\:00\:00\:00\:00\:00")
Entia non sunt multiplicanda sine necessitate
This doesnt work Shg
Perfect guys!
you are welcome. and btw, i just tried shg's option, and it worked fine for me
Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
Thanks.
Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks