Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default removing dashes changes test into number

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

  #2   Report Post  
Posted to microsoft.public.excel.misc
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
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default removing dashes changes test into number

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

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



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


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default removing dashes changes test into number

One way ..

Assuming data in A1 down,
try in B1:
=SUBSTITUTE(A1,"-","")
Copy B1 down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing part of a number in Excel RISXRAY Excel Discussion (Misc queries) 3 September 13th 06 06:55 PM
Vlookup to Return a Range of Data Rob Excel Discussion (Misc queries) 13 June 1st 06 04:02 AM
vlookup with more than number to be retrieved martelie Excel Worksheet Functions 1 October 8th 05 07:33 AM
Count Number of Characters in a cell? AHJuncti Excel Discussion (Misc queries) 2 June 16th 05 07:39 PM
removing dashes from phone numbers Brad Excel Discussion (Misc queries) 3 May 24th 05 03:27 PM


All times are GMT +1. The time now is 10:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"