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

In cell Y1 enter the formula:

=left(b1,14)

In cell Z1 enter the formula:

=right(b1,14)

Copy the formulas down as needed.

HTH,
Elkar


"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