remove punctuation from address

M

Mary

I need help removing commas, periods, parenthesis, dashes, etc from an
address file a customer supplied to me. Below is one row for example. In
order to dump the address file into our system, I need to remove the
punctuation. Is there a formula that will do this for me? The Name,
Company and address are each in a different cell.
Ed Olsen, Sr Seattle Mill & Industrial Supply 3223-A 164th St. SW
 
T

Trevor Shuttleworth

Mary

you'll need to add a column and then input the formula:

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,",",""),".",""),"-",""),"(",""),")","")

Assuming your data starts in cell A1. Just drag down or AutoFill.

Once you have the data, Copy and Paste Special | Values over the original.
Import the cleaned up data into your system.

Regards

Trevor
 
D

Dave Peterson

You may want to just do a series of edit|Replaces to remove whatever you
consider punctuation.

Select the range
edit|Replace
what: , (comma)
with: (leave blank or a space character????)
replace all

And just keep doing this for each of your characters to remove.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top