How do I remove hyphens from a product UPC?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have to re-format product UPC's from 01-23456-78901-2 to 012345678901.
And, the Concatenate and Left, Mid, Right functions just confused me. Does
anyone have any ideas? Thanks.
 
=SUBSTITUTE(a1,"-","")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
or...
=LEFT(SUBSTITUTE(A2,"-",""),12)

If you really did mean to drop the final '2' in your example.

HTH,
 

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

Back
Top