View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Trevor Shuttleworth Trevor Shuttleworth is offline
external usenet poster
 
Posts: 1,089
Default remove punctuation from address

Mary

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

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBST ITUTE(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


"Mary" wrote in message
...
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

--
Thanks,
Mary