Trim with Country code leading

C

Cassius

I have some cells with two charcters leading and those are generally the
country code. How can I parse those out the country code and space to just
see the supplier name?

For example:
AU BBL DOWNHOLE TOOLS LTD
MX PATRULLAS DE ALARMA DE TABASCO
SG CANTEEN 11
 
T

T. Valko

If you want to completely remove them...

Select the cells in question
Goto the menu Data>Text to Columns
Select Fixed width>Next

In the Data preview area use your mouse and double click where you want the
data separated. If Excel has already guessed and inserted separators just
double click on them to remove them. Based on your description you want to
insert a separator after the 3rd character.

After you have inserted the separator click Next

In the next step of the wizard the data you want to strip out should be
highlighted. Select Do not import column (skip).

Click Finish
 
S

Shane Devenshire

Hi,

Since the country code is 2 characters and a space is one than

=MID(A1,4,9^3)
 

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