How to Remove Dashes From Social Security Numbers in Excel: A Step-by-Step Guide

Removing dashes from Social Security Numbers (SSNs) in Excel is a straightforward process. By using Excel’s “Find and Replace” function, you can quickly eliminate unwanted dashes. After completing this action, you will have a consistent set of SSN data that is easier to read and use in your analyses or reports.

After you’ve removed the dashes from Social Security Numbers, you’ll have a clean and uniform set of data. This makes it easier to sort, filter, and format your SSNs, and it also ensures compatibility for uploading to other systems that may require a dash-less format.


Ever found yourself staring at a column of Social Security Numbers in Excel, each punctuated with dashes, and thought, “Yikes, how do I get rid of these?” Whether you’re a data analyst, human resource professional, or just someone trying to organize their personal finances, you’ve probably encountered the need to remove formatting from SSNs. This task might seem daunting, but fear not, it’s actually quite simple.

Excel, the ubiquitous spreadsheet software, is a powerful tool that can handle a wide range of data manipulation tasks. When it comes to SSNs, which typically appear as xxx-xx-xxxx, those dashes can be a real nuisance. They can cause issues when you’re trying to match numbers, upload data to a system that doesn’t accept dashes, or simply when you need a cleaner look for your spreadsheet. By learning how to remove dashes from Social Security Numbers in Excel, you’re not only making your data more presentable but also ensuring it’s formatted correctly for any processing or data entry needs.

Step by Step Tutorial: Removing Dashes from Social Security Numbers in Excel

This tutorial will guide you through removing dashes from Social Security Numbers in your Excel spreadsheet.

Step 1: Open the Find and Replace dialog box

Press Ctrl + H on your keyboard to open the Find and Replace dialog box.

The Find and Replace dialog box is a nifty feature in Excel that allows you to search for specific characters (in this case, dashes) and replace them with something else (in this case, nothing).

Step 2: Enter the dash in the Find what field

In the “Find what” field, type the dash character (-).

This step ensures that Excel knows exactly what character you’re looking to remove from your data. Make sure you don’t enter anything else, or it could affect different parts of your data.

Step 3: Leave the Replace with field blank

Make sure the “Replace with” field is left blank.

By leaving this field blank, you’re telling Excel to replace the dash with nothing, effectively removing it from your SSNs.

Step 4: Click Replace All

Click the “Replace All” button to remove all instances of the dash from your SSNs.

After clicking “Replace All,” Excel will go through your entire spreadsheet and remove every dash it finds within your data set. This process should be quick, but the time it takes can vary depending on the size of your data.


Cleaner DataRemoving dashes from SSNs results in a neater, more professional-looking spreadsheet.
ConsistencyHaving a uniform format for SSNs across your data set reduces errors and confusion.
CompatibilityDashes can interfere with certain systems or software that require data in a specific format. Removing them ensures compatibility.


Potential ErrorsIf not done carefully, using Find and Replace can result in accidental changes to other data if the dashes are not unique to SSNs.
Format LossRemoving dashes can make SSNs harder to read for humans, as the separation of digits can aid in legibility.
IrreversibleUnless you have a backup, once you remove the dashes, it can be time-consuming to re-add them if needed.

Additional Information

When working with sensitive information like Social Security Numbers, it’s essential to ensure accuracy and precision. While removing dashes from SSNs in Excel might seem like a minor task, it can have significant implications for data integrity and usability. Always make a backup of your original data before making any changes, just to be safe. You never know when you might need to refer back to the original format.

If you find that you’re frequently having to remove dashes from SSNs or perform similar data cleaning tasks, consider creating a macro in Excel. A macro is a sequence of instructions that automates repetitive tasks. With a custom macro, you could remove dashes from SSNs with just a click of a button, saving you time and reducing the risk of manual errors.

Remember, while Excel is a powerful tool, it’s only as effective as the user. Understanding the various functions and features, like the “Find and Replace” function, can greatly improve your data management skills. So next time you’re faced with a daunting task like removing dashes from Social Security Numbers, take it as an opportunity to level up your Excel game!


  1. Open Find and Replace with Ctrl + H.
  2. Type the dash in “Find what.”
  3. Leave “Replace with” blank.
  4. Click “Replace All.”

Frequently Asked Questions

What if my SSNs are in different formats?

If your SSNs are not consistently formatted, you may need to use more advanced Excel functions or tools to standardize them before removing the dashes.

Can I use this method to remove other characters?

Yes, the Find and Replace function can be used to remove or replace any character in your Excel data.

Is it possible to undo the changes after clicking “Replace All”?

You can undo the changes immediately after by pressing Ctrl + Z. However, if you close the sheet or make further changes, you might not be able to undo it.

Will this method work on Excel for Mac?

Yes, the Find and Replace function works similarly on Excel for Mac, and the steps are the same.

Can I remove dashes from SSNs in multiple sheets at once?

The Find and Replace function works on one sheet at a time. If you need to clean SSNs across multiple sheets, you’ll have to repeat the process for each one.


Removing dashes from Social Security Numbers in Excel is a quick and painless process that can significantly tidy up your data. By using the simple yet powerful Find and Replace tool, you can ensure your SSNs are consistent, clean, and ready for whatever task you have at hand. Whether you’re preparing data for a report, a system upload, or just trying to make your spreadsheet look more presentable, mastering this skill is a stepping stone to becoming an Excel power user. Remember, though, always back up your original data, and double-check that you’re not inadvertently altering other important information. Happy data cleaning!

Join Our Free Newsletter

Featured guides and deals

You may opt out at any time. Read our Privacy Policy