Google Answers Logo
View Question
 
Q: parsing non-uniform text within a single cell ( No Answer,   5 Comments )
Question  
Subject: parsing non-uniform text within a single cell
Category: Computers > Algorithms
Asked by: mduncan-ga
List Price: $5.00
Posted: 04 Nov 2005 15:43 PST
Expires: 04 Dec 2005 15:43 PST
Question ID: 589203
I have an excel file that includes all contact information within a
single cell where address, phone, etc are separated by an unusual
delimiter (a square).  Here's an example:
"BLANK LLC
    Phone:  366-564-0000
    Addr: 18 SE Tech Center Pl #150
                 Vancouver WA 96883"
All of this is listed in a single cell.  I need it to be in separate
fields: contact, phone, address, city, state, zip.  To make matters
worse, not all of the cells are uniform.  Some come like this:
"Madeup Homes Inc
    Contact: Thomas Madeup
    Phone:  503-655-3783 
    Addr: P.O. Box 1109 
                 Clackamas OR 97115"

Does anybody have a macro that would deal with this?  The square
symbols don't show up when I copied the data into this textbox.  Also,
I can email a sample spreadsheet to any takers.
thanks!
mark
Answer  
There is no answer at this time.

Comments  
Subject: Re: parsing non-uniform text within a single cell
From: guac-ga on 09 Nov 2005 12:54 PST
 
I think the squares you're seeing are hard returns. If you uncheck the
wrap text option in the cell properties do they go away?

Also, are the city, state, and postal code delimited by the squares as well?
Subject: Re: parsing non-uniform text within a single cell
From: mduncan-ga on 14 Nov 2005 09:50 PST
 
Yeah, they act like hard returns but the wrap text box in unchecked. 
I also pasted the data in as "values Only" leaving off the format. 
No, city, state, and zip are not separated by the square.

thx,
mark
Subject: Re: parsing non-uniform text within a single cell
From: guac-ga on 14 Nov 2005 10:44 PST
 
can you post your spreadsheet somewhere where I can take a look at it?
I think I can write a clean-up macro for you.
Subject: Re: parsing non-uniform text within a single cell
From: mduncan-ga on 14 Nov 2005 10:58 PST
 
sure, can I email it to you?
Subject: Re: parsing non-uniform text within a single cell
From: guac-ga on 14 Nov 2005 11:53 PST
 
send it to thedataguru at gmail.com

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy