How to Remove Space in Excel: The Ultimate 2024 Guide

Removing extra spaces in Excel can be a common but frustrating issue. But fear not! In just a few quick steps, you can clean up your data and have your spreadsheet looking neat and professional. Whether it’s unwanted spaces at the beginning, end, or in between your data, we’ve got you covered.

Step by Step Tutorial to Remove Space in Excel

Before jumping into the steps, let’s clarify what we’re tackling here. Removing extra spaces will make your data more uniform and easier to manage. It’s especially useful when you’re preparing data for reports or analysis.

Step 1: Select the cells with the extra spaces

Click and drag your mouse over the cells that have the extra spaces you want to remove.

Selecting the right cells is crucial. If you’re working with a large dataset, you might want to filter your data first to ensure you’re only selecting the cells that need attention.

Step 2: Open the ‘Find & Select’ tool

In the ‘Home’ tab, click on ‘Find & Select,’ then choose ‘Replace’ from the dropdown menu.

The ‘Find & Select’ tool is a handy feature in Excel that allows you to search for specific characters or phrases within your spreadsheet. By using the ‘Replace’ function, we can search for spaces and replace them with nothing, effectively removing them.

Step 3: Enter a space in the ‘Find what’ box

In the pop-up window, type a single space using the spacebar in the ‘Find what’ box.

This step is where the magic happens. By typing a space in the ‘Find what’ box, you’re telling Excel specifically what you’re looking to remove from your selected cells.

Step 4: Leave the ‘Replace with’ box empty

Do not type anything in the ‘Replace with’ box.

By leaving the ‘Replace with’ box empty, you’re instructing Excel to replace the spaces you’re removing with nothing at all, thus eliminating them from your data.

Step 5: Click ‘Replace All’

Finally, click on the ‘Replace All’ button to remove all the extra spaces in your selected cells.

After clicking ‘Replace All’, a dialog box will pop up telling you how many replacements were made. This confirms that the extra spaces have been removed from your data.

After completing these steps, your selected cells will be free of any extra spaces. Your data will look cleaner, and you’ll avoid any errors related to inconsistent spacing.

Tips for Removing Space in Excel

  • Always make a backup of your data before making bulk changes.
  • Use the ‘TRIM’ function to remove extra spaces from text if you prefer using formulas.
  • Consider using the ‘Text to Columns’ feature if your data is consistently separated by spaces.
  • Familiarize yourself with keyboard shortcuts to speed up the process.
  • If you’re dealing with non-breaking spaces (character code 160), you’ll need to use the ‘CHAR’ function in the ‘Find what’ box.

Frequently Asked Questions

Can I remove spaces from my entire spreadsheet at once?

Yes, you can select all the cells in your spreadsheet by clicking the corner button above row numbers and to the left of column letters, then follow the same steps.

What if the ‘Replace All’ button is greyed out?

If the ‘Replace All’ button is greyed out, it means you haven’t selected any cells. Make sure you have the cells you want to edit selected before trying to replace spaces.

Can I use this method to remove spaces from numbers?

Yes, this method works for text and numbers. However, ensure that removing spaces from numbers doesn’t change their value or meaning.

What does the ‘TRIM’ function do?

The ‘TRIM’ function in Excel removes all spaces from text except for single spaces between words. It’s a great alternative if you’re comfortable with using functions in Excel.

Is there a way to remove only leading or trailing spaces?

Using the ‘TRIM’ function will handle leading and trailing spaces. If you need more control, you might need to use more advanced functions or VBA.


  1. Select the cells with the extra spaces.
  2. Open the ‘Find & Select’ tool and choose ‘Replace’.
  3. Enter a space in the ‘Find what’ box.
  4. Leave the ‘Replace with’ box empty.
  5. Click ‘Replace All’.


Mastering how to remove space in Excel is a game-changer when it comes to organizing and cleaning up data. It’s a simple process that can save countless hours of manual editing, ensuring that your data is presentable and error-free. Remember, keeping your datasets clean is essential for accurate analysis and reporting. Whether you’re a student, professional, or just someone who loves to keep things tidy, removing those unwanted spaces will make your work in Excel that much easier. Don’t let a little whitespace throw off your entire project. Get hands-on and give these steps a try – your spreadsheets will thank you!

Join Our Free Newsletter

Featured guides and deals

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