Thread
:
Inserting a hyphen after the 3rd character
View Single Post
#
3
Posted to microsoft.public.excel.worksheet.functions
Harlan Grove[_2_]
external usenet poster
Posts: 1,231
Inserting a hyphen after the 3rd character
Pete_UK wrote...
One way:
=LEFT(A1,3)&"-"&RIGHT(A1,LEN(A1)-3))
....
Shorter, simpler, more efficient to use
=REPLACE(A1,3,0,"-")
Reply With Quote
Harlan Grove[_2_]
View Public Profile
Find all posts by Harlan Grove[_2_]