LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Comma delimited text to columns

Cecil, I received Tom's code and it did exactly what I wanted. I just wanted to let you know I appreciate you taking the time to help me.

"Cecilkumara Fernando" wrote:

Ann,
Ok, copy about 30 lines of original records some with suite no.and some
without to newsgroup massage and Post back.
Cecil

You already got one from Tom Ogilvy and it will do the job for you

"Ann Vlna" wrote in message
...
I have to do this repeatly for about 150,000 records each time. If I use

the text to columns some records have four columns and some three. They
also don't fall in the correct column and have to be moved around. Also, if
there is an address and suite no. they have to be put back together.
Thanks, though.

"Cecilkumara Fernando" wrote:

Ann,
Did you use Text to Columns under Data menu?
If you have to do it repeatedly then you can use a code
else you can adjust it manually.
Cecil

"Ann Vlna" <Ann wrote in message
...
I'm not a programmer so can someone help me with code for the problem
listed below.

I have a column of addresses in Excel. Example of original column is:

Column A
Street address, suite no., city, state zip
Street address, city, state zip

I need to start at the right and extract the data up to the first

comma
and second comma (individually) into their own columns. Then I need it
deleted from the original column. I start with one column and end up

with
three columns. Examples of new columns a

Column A Column B Column C
Street address, suite no. city state zip
Street address city state zip

Thanks in advance.










 
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
cell to have comma-delimited values based on text Richard the Lion-Hearted Excel Worksheet Functions 8 March 22nd 10 08:20 PM
Import comma delimited text Lin Excel Discussion (Misc queries) 3 July 28th 06 04:07 PM
How to produce comma-delimited and quoted text file from Excel? Roger Kenner Excel Discussion (Misc queries) 1 September 15th 05 07:19 PM
Paste comma delimited text into a spread sheet Dave Plyer Excel Discussion (Misc queries) 5 June 21st 05 01:39 PM
I have a Comma delimited text file how do I import in to excel an. trevord Excel Discussion (Misc queries) 1 February 3rd 05 11:41 PM


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

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"