Close Menu
Computing.net
    Facebook X (Twitter) Instagram
    Computing.netComputing.net
    • News
      1. AI
      2. Crypto
      3. Gaming
      4. Hardware
      5. Security
      6. Software
      7. View All

      Anthropic’s COBOL Automation Tool Triggers IBM Stock Plunge and Crypto Market Decline

      February 24, 2026

      AI Trading Bot Loses $441K in Crypto After Decimal Point Mistake

      February 23, 2026

      Tesla (TSLA) Stock: Goodbye Sedans, Hello Robots in Dramatic Production Shift

      January 29, 2026

      Palantir Technologies (PLTR) Stock: Why Bears May Be Wrong About Valuation Concerns

      January 29, 2026

      SUI Token Rallies 40% Following Major Staking Event and CME Futures Announcement

      May 12, 2026

      Chainlink (LINK) Surges to $10.40 as Network Activity Hits Eight-Month Peak

      May 12, 2026

      Dogecoin Whales Ramp Up Accumulation as DOGE Eyes Critical Breakout Levels

      May 12, 2026

      Bitcoin Holds $81K While Burry Flags Nasdaq Bubble and Oil Surges Past $105

      May 12, 2026

      Hamster Kombat: Unraveling TON’s Gaming Phenomenon

      August 7, 2024

      W-Coin: Exploring the Latest Telegram Tap-to-Earn Phenomenon

      August 7, 2024

      Hamster Kombat: 300 Million Players & Counting, HMSTR Token Airdrop Soon!

      July 31, 2024

      Hamster Kombat Developers Work with TON Team on Airdrop Solution

      July 30, 2024

      Nothing Expands Product Line with New AI Feature & Phone Update

      July 31, 2024

      Security Audit Reveals Concerns in Atari’s Blockchain Game on Base

      August 6, 2024

      SideWinder Group Targets Maritime Facilities in New Cyber Espionage Campaign

      July 30, 2024

      OAuth Implementation Flaw Exposes Millions of Websites to XSS Attacks

      July 30, 2024

      Hamster Kombat Players Face Growing Cybersecurity Threats

      July 25, 2024

      Anthropic’s COBOL Automation Tool Triggers IBM Stock Plunge and Crypto Market Decline

      February 24, 2026

      Cookie Crumble: Google Halts Plans to Eliminate Third-Party Cookies in Chrome

      July 23, 2024

      Big Brother is Watching: Apple’s Creepy New Ad Urges iPhone Users to Ditch Chrome

      July 23, 2024

      Nvidia Stock Soars to New Record at $219.44 Ahead of May 20 Earnings

      May 12, 2026

      Rocket Lab Shares Surge Past $120 Following Wave of Analyst Upgrades

      May 12, 2026

      GM Shares Decline Following 600 IT Layoffs Amid Strategic AI Workforce Transformation

      May 12, 2026

      SES Delivers €847M Q1 Performance as Intelsat Integration and Aviation Deals Fuel Expansion

      May 12, 2026
    • How To

      Batch Files: Tokens and Delimiters (FOR Loops)

      July 31, 2024

      Types of Ethernet Cabling & Electrical Low Voltage Wiring

      July 9, 2024

      What You Should Know About .JSON File Extension

      January 10, 2023

      Bkup File Extension

      November 19, 2022

      HEIC File Extension

      November 19, 2022
    • Office
      1. Excel
      2. Google Sheets
      3. View All

      How to Convert Column List to Comma Separated List in Excel

      July 24, 2024

      How to Find the Last Monday of the Month in Excel

      July 24, 2024

      Convert Bytes to MB or GB in Excel: 3 Methods!

      July 24, 2024

      How to Remove Characters from Right in Excel

      July 30, 2023

      How to Subtract in Google Sheets: Complete Guide

      July 31, 2024

      Bullet Points in Google Sheets

      January 20, 2022

      Sort by Date in Google Sheets

      January 18, 2022

      Google Sheets Timestamp

      January 17, 2022

      How to Subtract in Google Sheets: Complete Guide

      July 31, 2024

      How to Convert Column List to Comma Separated List in Excel

      July 24, 2024

      How to Find the Last Monday of the Month in Excel

      July 24, 2024

      Convert Bytes to MB or GB in Excel: 3 Methods!

      July 24, 2024
    • Answers
    • About
    • Contact
    Facebook X (Twitter)
    Computing.net
    Excel

    How to Remove Dashes or Hyphen (-) in Excel

    Denise ElizabethBy Denise ElizabethOctober 15, 2021
    Twitter LinkedIn Email Telegram
    How to Remove Dashes or Hyphen (-) in Excel
    Twitter LinkedIn Email Telegram

    When working with data in excel (numbers or text), there may be times where the data has dashes or hyphens that need to be removed.

    For example, say you have a large group of social security numbers in the following format: 123-456-789.

    You need to remove all of the “-” symbols and just keep the numbers.

    If you are thinking about going into the spreadsheet and removing each dash one by one, think again.

    Removing dashes and hyphens one by one is simply not an option when you have large amounts of data.

    It is a tedious and time consuming task.

    Worry not, there are a couple of other methods that are simple and effective in removing dashes and/or hyphens from your data so that you are only left with numbers or text.

    Let’s look at two simple ways to remove dashes or hyphens in Excel.

    Contents:

    Toggle
    • Removing Dashes or Hyphens in Excel using the Find and Replace feature
    • Using a Formula to Remove Dashes in Excel

    Removing Dashes or Hyphens in Excel using the Find and Replace feature

    Excel already has a neat little feature called “Find and Replace.”

    Just as the name suggests, this feature allows you to find all of the cells that have a dash or hyphen in them, and then replace it with either a space character or a null (blank).

    Let’s look at an example using SNN numbers. This can also be done with phone numbers or any other type of data:

    removing dashed in excel

    Using the above SSN data set, we are going to use the Find and Replace feature to remove all of the dashes in Column A:

    1. Select the dataset where you want the dashes to be removed (in this example we are selecting A(1-6)
    2. While holding down the Control Key, press the H key. This should have opened the Find and Replace feature dialog box.
    3. In the field “Find What”, you want to type in the dash symbol (-).
    4. The “Replace with” field remains empty.
      find and replace feature excel
    5. Next, select Replace All in the bottom left corner.

    This method should have quickly removed all of the dashes from your Excel data.

    Before using this method, there are a few things to note:

    • Because the Find and Replace feature replaces your original data, you will want to make sure you have a backup copy in case you need to restore the original data again.
    • If any of your numbers start with zero, Excel will most likely remove those leading zeros. To fix this, you simply need to fix the format of the cell to show at least 9 digits.

    Using a Formula to Remove Dashes in Excel

    The second method that I like to use to remove dashes or hyphens in excel is by formula.

    Here is the formula you would use:

    =SUBSTITUTE(A2,”-“,””)

    Let’s better understand what this formula is trying to do:

    • A2 is for the cell in which you want to remove the dashes. This could also be A2 – A 6 if you are editing multiple cells at once.
    • “-” is emphasizing the item to be removed, in this case the dash.
    • “” is telling Excel that we want to replace the dash with nothing (null).

    Let’s use the same example set of SSN data and see how this works in Excel:

    formula to remove dashes excel

    As you can see, the formula successfully removed the dashes from the SSN listed in the data.

    As mentioned before, this also works great with phone numbers or even addresses, other type of ID numbers, and more.

    These two methods are quick and easy for removing dashes and hyphens from a large set of data.

    If you know any other great methods, please share them in the comments below!

    Share. Twitter LinkedIn Email Telegram
    Avatar photo
    Denise Elizabeth
    • Website
    • X (Twitter)
    • LinkedIn

    Denise is a Financial Controller with experience in Office Software (Excel & Word), Accounting, Bookkeeping, Business Incorporation/LLC, Taxes and IRS Issues and more. She Graduated from Portland State University in Business Management and went onto Seattle University to complete her Graduate (Masters) Degree in Organizational Systems Renewal. She contributes to Computing.net with her knowledge of Business Software, in particularly Microsoft Excel and Google Sheets.

    Related Posts

    How to Convert Column List to Comma Separated List in Excel

    July 24, 2024

    How to Find the Last Monday of the Month in Excel

    July 24, 2024

    Convert Bytes to MB or GB in Excel: 3 Methods!

    July 24, 2024

    How to Remove Characters from Right in Excel

    July 30, 2023

    How to Create a Stem and Leaf Plot in Excel

    January 10, 2023

    How to Remove Macros From an Excel Workbook

    January 10, 2023
    Add A Comment

    Comments are closed.

    Latest

    Nvidia Stock Soars to New Record at $219.44 Ahead of May 20 Earnings

    May 12, 2026

    Rocket Lab Shares Surge Past $120 Following Wave of Analyst Upgrades

    May 12, 2026

    GM Shares Decline Following 600 IT Layoffs Amid Strategic AI Workforce Transformation

    May 12, 2026

    SES Delivers €847M Q1 Performance as Intelsat Integration and Aviation Deals Fuel Expansion

    May 12, 2026

    Trump Dismisses Iran Peace Proposal — Oil Markets React as Hormuz Remains Restricted

    May 12, 2026
    • Facebook
    • Twitter

    Latest Reviews

    Meta Platforms Shares Tumble 8% Despite Strong Q1 Performance Amid AI Investment Surge

    April 30, 2026

    Flush.com Review: Casino & Sportsbook With 275% Welcome Bonus

    March 7, 2026

    Katsubet Review: Crypto Casino With 300% Welcome Bonus & Free Spins

    March 7, 2026

    7Bit Review: Crypto Casino With 325% Bonus & 250 FS

    March 7, 2026

    Mega Dice Review: Crypto Casino With 200% Bonus & 50 Free Spins, Legit?

    March 7, 2026


    Home / Privacy Policy / Terms & Conditions

    Computing.net © 1996 - 2026 Kooc Media Ltd. All rights reserved. Registered Company No.05695741

    Type above and press Enter to search. Press Esc to cancel.