View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
Sloth
 
Posts: n/a
Default edit text string in column B

Use Data-Text to columns. You can use fixed width to seperate the first 14
chars. This will seperate the column into two columns. Do it again on the
second column selecting delimited and select the charector that seperates the
description from the part number. Then you should have three columns that
you can cut and paste where you want them.

"useR" wrote:

How to edit column B in spreadsheet so that the 1st 14 characters in the
string is cut/pasted to column Y, and the last 14 characters in the string is
cut/pasted to column Z? Need to apply such an edit to all cells in column B.

Spreadsheet is A1:Pxxxx (approx 3000 rows). All cells in column B contain a
character string that represents 'model number - description label - part
number'. String varies in length due to description label differences,
however model number and part number are always 14 characters each. Cell
format is general.

MS Office Excel 2003, SP1
MS Windows XP Professional 5.1, SP 2, build 2600

Thanks for your help,
R