Removing Hyphens from a Number

T

Trebor249

I have a huge database of numbers (several thousand) with hyphens in
them and I want to remove the hyphens in some automated fashion. For
instance:

42-291-32455 change to 4229132455

Does anyone know of a way to do this? Thanks.
 
B

Bob Phillips

Use a formula to put number in an adjacent cell

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

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

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