Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default Data, Text to Columns, has commas in the text, plus as a delimeter

Using XL 2003, I want to import data from another program. I can do so
with the Text to Columns feature, but, the program uses exclamation
points and a comma as a delimeter ( !,! ). An example is below:
!Visit Arizona, Eat Mexican Food!,!1!,!1.000!,!N!,!50!,!50!,!0!,!
2229!,!547!,!188!,!0!,!0!,!0!,!0!,!0!,!0!,!N!

As you can see, commas are sometimes used in the text, plus as a
delimeter. How can I handle this?

Thanks,

Tonso
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Data, Text to Columns, has commas in the text, plus as a delimeter

I would try bringing the data into a single column.

Then select that column and
Edit|Replace
what: !,!
with: !
replace all

You may want to try doing the same thing before you import the data--open the
text file in NotePad (or your favorite text editor and do the equivalent
edit|replace).

ps. If the ! shows up in the text, then I'd change it to a unique/unused
character (maybe the vertical bar |).



Tonso wrote:

Using XL 2003, I want to import data from another program. I can do so
with the Text to Columns feature, but, the program uses exclamation
points and a comma as a delimeter ( !,! ). An example is below:
!Visit Arizona, Eat Mexican Food!,!1!,!1.000!,!N!,!50!,!50!,!0!,!
2229!,!547!,!188!,!0!,!0!,!0!,!0!,!0!,!0!,!N!

As you can see, commas are sometimes used in the text, plus as a
delimeter. How can I handle this?

Thanks,

Tonso


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default Data, Text to Columns, has commas in the text, plus as adelimeter

On May 20, 8:49*am, Dave Peterson wrote:
I would try bringing the data into a single column.

Then select that column and
Edit|Replace
what: *!,!
with: *!
replace all

You may want to try doing the same thing before you import the data--open the
text file in NotePad (or your favorite text editor and do the equivalent
edit|replace).

ps. *If the ! shows up in the text, then I'd change it to a unique/unused
character (maybe the vertical bar |).

Tonso wrote:

Using XL 2003, I want to import data from another program. I can do so
with the Text to Columns feature, but, the program uses exclamation
points and a comma as a delimeter ( * *!,! * *). An example is below:
!Visit Arizona, Eat Mexican Food!,!1!,!1.000!,!N!,!50!,!50!,!0!,!
2229!,!547!,!188!,!0!,!0!,!0!,!0!,!0!,!0!,!N!


As you can see, commas are sometimes used in the text, plus as a
delimeter. How can I handle this?


Thanks,


Tonso


--

Dave Peterson


Thanks Dave! This works great!!

Tonso
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
Using TEXT and &TEXT - display numbers with commas, underline text Gary Excel Discussion (Misc queries) 3 May 5th 23 03:46 AM
Excel 2007 convert into tab delimeter text file with extra tab spa Naresh kumar[_2_] Excel Discussion (Misc queries) 0 March 30th 10 03:48 PM
Converting excel 2007 to tab delimeter text file Naresh kumar Excel Discussion (Misc queries) 1 March 27th 10 03:56 PM
text wrap delimeter armagan Excel Discussion (Misc queries) 2 May 11th 06 04:42 PM
Linking text columns with text and data columns Edd Excel Worksheet Functions 0 March 17th 05 04:23 PM


All times are GMT +1. The time now is 12:21 AM.

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"