How to Space out Cells in Excel – 2 Methods

The following dataset contains extra space below the text.

Space out Cells in Excel (Sample Dataset)This is the sample dataset.

To add space between text and cell borders:

Space out Cells in Excel (Sample Dataset)

 


Method 1 – Space out Cells Using the Format Cells Option in Excel 

1.1 Increase the Spacing for Text in a Cell

Steps:

  • Right-click the cell you need to space out and click Format Cells.

Space out Cells in Excel Using Format Cells Option

  • Go to the Alignment tab.
  • In Vertical, select Justify.

This is the output.

Increase the Spacing for Text in a Cell (Result)

Read More: How to Space Columns Evenly in Excel


1.2 Add Space Between Text and Cell Borders

Steps:

  • Select B5:D9.
  • Right-click. Click “Format Cells”.

Space out Cells in Excel by Adding Space Between Text and Cell Borders

  • Go to the Alignment tab.
  • In Horizontal, select Distributed (Indent) to get equal spacing between the text and the cell borders.
  • In “Indent”, enter the size of extra spacing.
  • Press OK.

This is the output.

Add Space Between Text and Cell Borders (Result)

Read More: How to Space Rows Evenly in Excel


Method 2 – Remove Extra Spaces Between Text/Numbers in a Cell

This is the sample dataset:

Remove Spaces Between Text/Numbers (Sample Dataset)

2.1 Using the TRIM Formula

Steps:

  • Create a column. Here, Trim.
  • Enter the following formula in D5.
=TRIM(B5)
  • Press ENTER.
  • Drag down the Fill Handle to see the result in the rest of the cells.

Remove Spaces Using TRIM Formula

This is the output.


2.2 Using the Find and Replace Option

Steps:

  • Select B5:B8.
  • Press CTRL+H to open the “Find and Replace” dialog box.

Remove Spaces Using The Find and Replace Option

  • Press the Space bar 2 times in Find what and 1 time in Replace with.
  • Click “Replace all”.

This is the output.

Using The Find and Replace Option (Result)


Download Practice Book

Download the following Excel file.


Related Articles


<< Go Back to Space in Excel | Text Formatting | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Hafizul Islam
Hafizul Islam

Hafizul Islam is an excellent marine engineer who loves working with Excel and diving into VBA programming. For him, programming is like a superhero tool that saves time when dealing with data, files, and the internet. His skills go beyond the basics, including Rhino3D, Maxsurf C++, AutoCAD, Deep Neural Networks, and Machine Learning. He got his B.Sc in Naval Architecture & Marine Engineering from BUET, and now he's switched gears, working as a content developer. In this role,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo