How do I remove hyphens from a product UPC?

S

skpdpnt

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.
 
B

Bob Phillips

=SUBSTITUTE(a1,"-","")

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
G

Gary L Brown

or...
=LEFT(SUBSTITUTE(A2,"-",""),12)

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

HTH,
 
Top