Link to home
Start Free TrialLog in
Avatar of cansevin
cansevin

asked on

Address form

I have Addresses in the form:

4006 Concord Boulevard
Concord, CA 94519

I would like to change it to the form:

4006 Concord Boulevard, Concord, CA 94519

So it is all on one line. Basically replacing the Enter with ", "   is that possible? Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Saurabh Singh Teotia
Saurabh Singh Teotia
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Start by inserting a new column (B - to follow the example above)
The substitute function above will replace the carriage return with a comma and space for cell A1 with the result in B1.
After this is done in B1 (as proposed in the example), you still need to copy the value of B1 to A1 to replace the original text.   When this is completed for the column, you can delete the B column inserted to create the working space.

You might also, just use find and replace on the addresses.  
Find Char(10)   Replace with a comma(,) and a space( ).