Excel VBA Course
Excel VBA Course - From Beginner to Expert

200+ Video Lessons
50+ Hours of Video
200+ Excel Guides

Become a master of VBA and Macros in Excel and learn how to automate all of your tasks in Excel with this online course. (No VBA experience required.)

View Course

Adding spaces

0

How can I add a space between numbers in a column?

Answer
Discuss

Answers

0

There are several ways, depending upon what you want. One way you would write a number, which you can use for calculating, but it would be displayed with one or more spaces, actually, like they use for writing telephone numbers. You enter 8891234 and the display is 889-1234. Look up "Custom number formats" or come back here with more information.

Another way would have you enter text. This requires the cell to be formatted as Text, and you could enter anything at all.

Discuss
0

This is what I used and it worked quite well:

=LEFT(A1,2)&" "&MID(A1,3,3)&" "&MID(A1,6,2)&" "&RIGHT(A1,2)
Discuss


Answer the Question

You must create an account to use the forum. Create an Account or Login