insert space between text in excel

Insert Spaces Between Text in Excel: A Step-by-Step Guide

By Joseph Wilson
AD

Ever found yourself in a situation where you need to insert additional space between text in Excel? You're not alone, and it's surprisingly simple to achieve this. Excel, as powerful as it is, doesn't natively support character spacing like word processors do. However, there are clever workarounds to get the spacing you need.

Before we dive into the methods, let's understand why you might need this. You might want to create a wider space between characters for visual emphasis, to separate numbers or symbols in a column for better readability, or even to create custom bullet points.

Using the CHAR function

The CHAR function in Excel allows you to insert a non-printable character, which can be used to add space between text. It inserts a character based on the code you specify. For example, CHAR(160) inserts a non-breaking space.

AD
two rows of text with the same font and numbers in each row, one has an arrow
two rows of text with the same font and numbers in each row, one has an arrow
Insert space between text and number in Excel
Insert space between text and number in Excel
How to Add Space Between Text in a Cell in Excel (4 Easy Ways) - ExcelDemy
How to Add Space Between Text in a Cell in Excel (4 Easy Ways) - ExcelDemy

To use this, you can enter the formula as an array, like so: `=CHAR(160)` and then drag it down for as many spaces as you need.

Inserting a single space

For a single space, use CHAR(32). The 32 represents the ASCII value for a space.

How to Convert Text with Spaces to Number in Excel (4 Ways) - ExcelDemy
How to Convert Text with Spaces to Number in Excel (4 Ways) - ExcelDemy
3 ways to remove spaces between words / numbers in Excel cells
3 ways to remove spaces between words / numbers in Excel cells
Start a new line of text inside a cell in Excel
Start a new line of text inside a cell in Excel

Here's how you can use it: `{=CHAR(32)}` or, for multiple spaces, `={CHAR(32);CHAR(32)}`.

Inserting a non-breaking space

Sometimes, a regular space might cause line breaks in unexpected places. This is where the non-breaking space comes in handy. Use CHAR(160) to insert a non-breaking space.

AD

To use it, simply enter `{=CHAR(160)}`, and like before, drag it down to insert as many as you need.

How to Count Space Before Text in Excel (4 Ways) - ExcelDemy
How to Count Space Before Text in Excel (4 Ways) - ExcelDemy
How to Insert WordArt in Excel (2 Simple Methods) - ExcelDemy
How to Insert WordArt in Excel (2 Simple Methods) - ExcelDemy
How to Remove Space in Excel after Text (6 Quick ways) - ExcelDemy
How to Remove Space in Excel after Text (6 Quick ways) - ExcelDemy
CONCAT vs TEXTJOIN in Excel
CONCAT vs TEXTJOIN in Excel
How to Wrap Text in Excel - Excel Dashboard School
How to Wrap Text in Excel - Excel Dashboard School
How to Split text in Excel #shorts #exceltipsandtricks
How to Split text in Excel #shorts #exceltipsandtricks

Using the CONCATENATE function

Alternatively, you can use the CONCATENATE function to join together text and spaces. This is particularly useful if you're adding spaces between existing text.

Here's how you can do it: `=CONCATENATE(text1, " ", text2)`, where " " is the space you want to insert. Again, you can adjust the number of spaces by changing the number of spaces in the string.

AD

Inserting a single space

For a single space, use `=CONCATENATE(text1, " ", text2)`.

Insert and Delete Rows and Columns in Excel 2013 | dummies
Insert and Delete Rows and Columns in Excel 2013 | dummies

Here's an example: `=CONCATENATE("Hello", " ", "World")`.

Using variables for dynamic spacing

For more dynamic control over your spacing, you can use variables. Here's an example: `=CONCATENATE(text1, REPT(" ", variable), text2)`, where `variable` is the number of spaces you want to insert.

AD

This is particularly useful when you want to adjust the space dynamically based on another cell's value.

Using text enhancements in conditional formatting

If you're looking to space large chunks of text, Excel's conditional formatting can help. You can use the 'Format cells with' option to add a prefix or suffix to your cells.

Here's how you can do it: Under the 'Number' tab in conditional formatting, set the format code to `@`. This inserts a non-breaking space before the text. You can also add spaces after the text, in the 'Suffix' box.

And there you have it! You're now equipped with several methods to insert space between text in Excel. Whether it's a single space or a chunky non-breaking space, Excel has got you covered. Happy spacing!

AD