Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Trim with Country code leading

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


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Trim with Country code leading

If you want to completely remove them...

Select the cells in question
Goto the menu DataText to Columns
Select Fixed widthNext

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

--
Biff
Microsoft Excel MVP


"Cassius" wrote in message
...
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




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Trim with Country code leading

Try

=MID(A1,FIND(" ",A1)+1,LEN(A1))

If this post helps click Yes
---------------
Jacob Skaria


"Cassius" wrote:

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


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Trim with Country code leading

Hi,

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

=MID(A1,4,9^3)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Cassius" wrote:

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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
typing 'Up Country' ends up as Up Country' ? Martin ©¿©¬ @nohere.net Excel Discussion (Misc queries) 4 May 8th 09 06:32 PM
Trim Leading Spaces Steven Excel Worksheet Functions 6 February 21st 07 11:21 PM
trim leading spaces captain bob Excel Discussion (Misc queries) 2 August 3rd 06 02:57 PM
Code for Trim function shaji Excel Discussion (Misc queries) 2 June 15th 06 09:38 AM
Format the Cell into a telephone number but using country code Chris Quinn Excel Discussion (Misc queries) 1 January 27th 05 03:51 PM


All times are GMT +1. The time now is 11:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"