Extraction

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
 
G

Gord

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
 
C

Cimjet

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
 
G

GS

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top