View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Janna Janna is offline
external usenet poster
 
Posts: 14
Default Reformatting a column

In Excel I have a column that contains a number of values, for example:
5231
306
345
70

I want to remformat the column as follows:
00000523100
00000030600
00000034500
00000007000

(add two zeros to end and pad the front with enough zeros so the column
contains 11 characters total)

Anyone know of a macro or formatting technique to do so easily? Thanks.