View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default How do I write a script to add space between numbers in a column?

As long as they're really numbers, you could use a custom format:

Select the column:
format|Cells|number tab|Custom category
0000 00

The value that you see in the formula bar will still be the number--only the
display has changed.

wrote:

I have a file with a column that contains numbers that have six digits. I
need to add a space between the last two digits in this very long column of
numbers. Is there an efficient way of doing this? Example: 120100 needs to
be 1201 00


--

Dave Peterson