Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Remove Spaces Between Characters and Numbers in Excel

Learn how to remove Spaces Between Characters and Numbers in Excel with clear steps, practical tips, and key considerations for completing the task safely.

Table of Contents

This guide explains how to remove Spaces Between Characters and Numbers in Excel, with clear steps, practical tips, and important checks before you begin.

Using Find and Replace

  1. Using Find and Replace screenshot
    Highlight the range in which you want to remove all spaces. For example, if you want to remove spaces from C2 through C30, highlight those cells.
  2. Using Find and Replace screenshot 2
    Click the Edit menu.
  3. Using Find and Replace screenshot 3
    Select Find.
  4. Using Find and Replace screenshot 4
    Select Replace... A dialog box will appear.
  5. Using Find and Replace screenshot 5
    Click the box beneath 'Find What. '
  6. Using Find and Replace screenshot 6
    Press the space bar on the keyboard. Make sure to press it only once.
  7. Using Find and Replace screenshot 7
    Click Replace All. It's the second button at the bottom of the window. The spaces are now removed from the selected cells. A pop-up will appear, letting you know how many spaces were removed.
  8. Using Find and Replace screenshot 8
    Click Click OK.

Using the Substitute Function

  1. Using the Substitute Function screenshot 9
    Click the top cell in a blank column. The cell must be on the same row as the first line of data in the column with the spaces.
    • For example, if you want to remove spaces from column C, and C's first row of data is in row 2 (C2), click the second cell in your blank column (e. g. E2, F2, G2, etc).
  2. Using the Substitute Function screenshot 10
    Type =Substitute. [1]
  3. Using the Substitute Function screenshot 11
    Click the first cell in the column with spaces. For example, if you want to remove all of the spaces from the C column, click the first box (e. g. C2) in the column that isn't the title.
    • If you clicked cell C2, the formula should now look like this: =Substitute(C2 .
  4. Using the Substitute Function screenshot 12
    Type , (a comma). The cell should now look like this: =Substitute(C2,.
  5. Using the Substitute Function screenshot 13
    Type " ",. There's a space between the two sets of quotes—this is important.
    • The formula should now look like this: =Substitute(C2," ",.
  6. Using the Substitute Function screenshot 14
    Type ''). This time, there's NO space between the sets of quotes.
    • The formula should now look like this: =Substitute(C2,' ','').
  7. Using the Substitute Function screenshot 15
    Press ? Enter or ? Return. You will now see the contents of the selected cell (C2, in this example) without spaces in the new column.
    • For example, if C2 said w ww . wikih ow .com, your new cell will say www.wikihow.com.
  8. Using the Substitute Function screenshot 16
    Click the cell with the formula you typed. The cell should now be highlighted.
  9. Using the Substitute Function screenshot 17
    Drag the fill handle down over the cells you want to fill. The data from each corresponding cell will now appear in your new column without spaces.
  10. Using the Substitute Function screenshot 18
    Copy the data from the new column to the original column. Your new space-free data is now in place.

FAQ

What should I know about Remove Spaces Between Characters and Numbers?

Focus on the key features, requirements, limitations, and practical use cases explained in this guide.

How do I get the best results with Remove Spaces Between Characters and Numbers?

Follow the recommended steps, use current software or information, confirm compatibility, and review settings before major changes.

Are there any risks or limitations?

Potential limitations depend on compatibility, data quality, cost, privacy, support, and how the product or method is used.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.