welcome to the forum, keanve. do you mind typing in Column A & have the results in Column B? type this formula in B2:
=LEFT(A2,3)&TEXT(RIGHT(A2,10)," 000-000-0000")
to make it come out automatically as you type in Column A, convert the range to a Table. do that by selecting A1:B3 for eg & press CTRL + T. you can see Sheet2 of the file. type in A4 & B4 will be filled.
if you mind an extra column, you might need to do VBA.
How to install your new code
- Copy the Excel VBA code
- Select the workbook in which you want to store the Excel VBA code
- Press Alt+F11 to open the Visual Basic Editor
- Double-click on the worksheet you want to apply too. Mine is in Sheet1
- Edit > Paste the macro into the module that appeared
- Close the VBEditor
- Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)
type into column A & it'll convert into the format you want. change this line of code to identify which column you want it applied to. Column A is 1, B is 2, & so on:
Bookmarks