Extraction

  • Thread starter Thread starter sylink
  • Start date Start date
S

sylink

Please I have a need for a function or procedure to extract part of
cell content as shown below. Column A contains the list below. I need
to extract NTB, NTB and BND to column B. The numbers of charaters are
fixed from the Left and is space-delimited




AFS 0.00% NGN CENTRAL BANK NTB 08-09-2011
AFS 0.00% NGN CENTRAL BANK NTB 08-09-2011 A
AFS 0.00% NGN CENTRAL BANK BND 08-09-2011
 
Assuming you wish to keep column A intact...........

Copy A to B then Data>Text to Columns>Delimited by Space.

Skip all but the desired column.


Gord Dibben Microsoft Excel MVP
 
Hi
If all your data start with all the same lenght then try this in column B and
copy down.
=MID(A1,28,4) you may need to change the cell reference.
HTH
Cimjet
 
sylink brought next idea :
Please I have a need for a function or procedure to extract part of
cell content as shown below. Column A contains the list below. I need
to extract NTB, NTB and BND to column B. The numbers of charaters are
fixed from the Left and is space-delimited




AFS 0.00% NGN CENTRAL BANK NTB 08-09-2011
AFS 0.00% NGN CENTRAL BANK NTB 08-09-2011 A
AFS 0.00% NGN CENTRAL BANK BND 08-09-2011

If you need the data to the right of NTB/BND...

=MID(A1,28,LEN(A1)-28)
 
Back
Top