removing dashes changes test into number

G

Guest

i have columns of numbers like 34510-03220-E0
that the cells DO say are formated as text. how do i remove the dashes
without it changing automaticly into a number format? i want it to read
3451003220E0 not 3.45E+09
 
R

Ron Rosenfeld

i have columns of numbers like 34510-03220-E0
that the cells DO say are formated as text. how do i remove the dashes
without it changing automaticly into a number format? i want it to read
3451003220E0 not 3.45E+09

I think the SUBSTITUTE function will return a text string without conversion:

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


--ron
 
D

Dave Peterson

Maybe you can use a helper column of cells with formulas like:

=substitute(a1,"-","")
 

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