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!
Who is Participating?
Saurabh Singh TeotiaCommented:
Assuming you have value in A1... then try this formula in B1...


Open in new window

Richard DanekeTrainerCommented:
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( ).
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.