Formating a number in a cell

R

RXLPA3

I have the following data in a cell 00000-0000-00 and I want to format
the cell to remove the dashes, 00000000000. How would I do that?

Thanks so much!
 
F

Farhad

Hi,

Try this:
=SUBSTITUTE(A1,"-","")
assumed that your string is in the cell A1.

Thanks,
 
R

Ragdyer

Select the data, then:
<Edit> <Replace>

In "Find What", enter the dash ( - )
Leave "Replace With" empty,
And click on <Replace All>.
 
R

RXLPA3

Hi,

Try this:
=SUBSTITUTE(A1,"-","")
assumed that your string is in the cell A1.

Thanks,

--
Farhad Hodjat






- Show quoted text -

Thank You! Your solution worked perfectly!
 
Top