LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Breaking text on the basis of condition

HI Every one

I have a list in two coloumns. First coloumn has country name alon
with area name. Second is is country code with area code.
I want to seperate country code from the area codes, evenif the countr
name+ area name remains as it is. But i am unable to do so. here is
example

Country NAME Country CODE
ALGERIA 213
ALGERIA Mobile 21361
ALGERIA Mobile 2137
AMERICAN SAMOA 684
AMERICAN SAMOA Mobile 6842
ANDORRA 376
ANDORRA Mobile 3763
ANGOLA 244
ANGOLA Mobile 244912
ANGOLA Mobile 244915
ANGOLA Mobile 244923


Now I want to make them in three coloumns

Country NAME Country CODE Area CODE
ALGERIA 213
ALGERIA Mobile 213
61
ALGERIA Mobile 213
7
AMERICAN SAMOA 684
AMERICAN SAMOA Mobile 684 2
ANDORRA 376
ANDORRA Mobile 376
3
ANGOLA 244
ANGOLA Mobile 244 912
ANGOLA Mobile 244 915
ANGOLA Mobile 244 923

see emaple attached as the above will not come properly formated o
post. I will really apprecuate any help on this.

Regards

JK

Attachment filename: example.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=41218
--
Message posted from http://www.ExcelForum.com

 
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
If condition with text ART Excel Discussion (Misc queries) 3 May 6th 10 03:43 PM
sum if (text meets condition) Jennifer Excel Discussion (Misc queries) 1 June 19th 08 10:48 PM
Breaking a string of text Confused Excel Discussion (Misc queries) 4 March 9th 07 02:03 PM
split text in one cell into multiple cells without breaking the wo Prashant Excel Worksheet Functions 3 March 6th 06 08:48 AM
breaking text in one cell into two cells Polina Excel Discussion (Misc queries) 3 May 24th 05 11:07 PM


All times are GMT +1. The time now is 05:46 PM.

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

About Us

"It's about Microsoft Excel"