View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
bpeltzer bpeltzer is offline
external usenet poster
 
Posts: 180
Default Break up strings into separate cells

Assuming you've got a whole table of these, can you use Data Text To
Columns, indicate that each column is a fixed width, and create breaks after
each character?
Otherwise, you might use the MID and COLUMN functions. If your data starts
in A1, then in B1: =MID($A1,COLUMN()-1,1). Copy that formula across to as
many columns as you need. (You might also check that you haven't passed the
input cell's length: =if(column()len($a1),mid($a1,column()-1,1),"")

"al007" wrote:

What code do I need to split Id Numbers & characters in separate cells?
eg
V080779382799E
how can I have V in a separate cell, 0 in cell next to it, 8 in next
cell to the right and so on

thxs