View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld Ron Rosenfeld is offline
external usenet poster
 
Posts: 5,651
Default removing dashes changes test into number

On Wed, 20 Sep 2006 18:44:02 -0700, DanM
wrote:

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