View Single Post
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gord Dibben Gord Dibben is offline
external usenet poster
 
Posts: 22,906
Default How to parse long spaced entry into multiple cells???

I'm also not sure after re-reading your original.

Is the sample data

cell a1 = 2005 BASIC KING F SP FULL-FLA S 15 1.1 15 0 286212 9 BJ4X05
cell a2 = 2005 BASIC 100 F SP FULL-FLA S 15 1.1 16 0 286232 3 BJ8X05
cell a3 = 2005 BASIC 100 F SP LT S 10 0.8 13 0 286272 1 BX8X05

what you have or what you want?


Gord

On Thu, 19 Mar 2009 21:21:49 -0400, Robert Blass
wrote:

I'm not sure what you mean? could you explain some?


thanks

On Thu, 19 Mar 2009 17:58:45 -0700, Gord Dibben <gorddibbATshawDOTca
sayd the following:

I get the split into 14 columns A through N using space delimited.


Gord Dibben MS Excel MVP

On Thu, 19 Mar 2009 20:34:06 -0400, Robert Blass
wrote:

Using Execl 97'

The labels for each piece of the line of data would be as follows.

Year, Brand name, Length, Filter, Package, Strength, Flavor, Style,
Package Type, TAR, Nicotine, Caron Monoxide, UPC Code1, UPC Code2

That is 17 separate labels, but they would be coming from one long
string in ONE cell, here are a few examples.

cell a1 = 2005 BASIC KING F SP FULL-FLA S 15 1.1 15 0 286212 9 BJ4X05
cell a2 = 2005 BASIC 100 F SP FULL-FLA S 15 1.1 16 0 286232 3 BJ8X05
cell a3 = 2005 BASIC 100 F SP LT S 10 0.8 13 0 286272 1 BX8X05


Some have commas , maybe 1% at best, so you can see how hard it would
be to set their ,line by line, translating these..driving me crazy..

Is there a simple way to convert that long string in each cell into 14
different cells represented by the labels I mentioned earlier?

thanks!