If your data is consistent and the results you want are consistent (i.e. the dashes are always in the same places), then try:
=LEFT(A2,3)&"-"&MID(A2,4,7)&"-"&RIGHT(A2)
where A2 contains string to convert. Then copy formula down.
If your data is consistent and the results you want are consistent (i.e. the dashes are always in the same places), then try:
=LEFT(A2,3)&"-"&MID(A2,4,7)&"-"&RIGHT(A2)
where A2 contains string to convert. Then copy formula down.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks