Skip to main content

How to quickly add dashes to ssn in Excel?

doc-add-dashes-to-ssn1
Supposing you have a list of social security numbers in your worksheet, and now, you want to reformat the numbers to add dashes to them as following screenshot shown. In this article, I will introduce some quick tricks for you to insert the dashes into the social security numbers.
Add dashes to SSN with formulas
Add dashes to SSN with Format Cells function
Add dashes to SSN with Kutools for Excel good idea3

Add dashes to SSN with formulas

To add dashes to the social security numbers, the following formulas can help you. Please do as this:

1. In a blank cell besides your numbers, type any of the following two formulas:

  • =TEXT(A2,"???-??-????")
  • =LEFT(A2,3)&"-"&MID(A2,4,2)&"-"&RIGHT(A2,4)

(A2 is the cell which has the number you want to add dashes into, you can change it for your need.)

doc-add-dashes-to-ssn1

2. Then drag the fill handle over to the range that you want to contain this formula, and the dashes have been inserted into the social security numbers. See screenshot:

doc-add-dashes-to-ssn1


Add dashes to SSN with Format Cells function

In Excel, the Format Cells feature also can help you to solve this problem.

1. Select the cells which contain the social security numbers that you want to add dashes.

2. Right click and choose Format Cells from the context menu, see screenshot:

doc-add-dashes-to-ssn1

3. And in the Format Cells dialog box, under the Number tab, click Special from the Category pane, and then click Social Security Number under the Type list box.

doc-add-dashes-to-ssn1

4. Then click OK to close this dialog, and your numbers have been added the dashes in the original cell range at once.


Add dashes to SSN with Kutools for Excel

Actually, if you have Kutools for Excel, you can apply its Add Text function to quickly add dashes to SSN.

Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

After free installing Kutools for Excel, please do as below:

1. select the SSN cells, and click Kutools > Text > Add Text. See screenshot:

doc add dashes to ssn6

2. Then in the Add Text dialog, type dash - into the textbox below Text, and then check Specify option and type the position you want to add dash into the text box, if you need to add dashes to several positions, using comma to separate them. See screenshot:

doc add dashes to ssn7

3. Click Ok or Apply, then all SSN cells are add dashes in specific locations
doc add dashes to ssn8


remove position

This Remove Characters Tool Boosts Your Efficiency By 90%, Leave Much Time To Enjoy Your Life

▲ Say goodbye to modifying and memorizing formulas, give you a full rest on brain.

▲ Except this tool, there are 228 advanced tools (including 30+ text editing tools) else in Kutools for Excel, which can solve your 80% Excel puzzles.

▲ Become an Excel expert in 5 minutes, gain people's recognition and promotion.

▲ 110000+ high efficiency people and 300+ world renowned companies' choice.

30-days free trial, no credit card required


Related article:

How to quickly add dashes to multiple phone numbers in Excel?

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations