Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Cell Formatting Removing Dashes

I am working with Excel, trying to remove dashes from Text "000-000-000-000"
but still keep zeros. The cell MUST keep all 12 digits including zeros for
it to work for me. The data is imported from a report program as delimited
text, and then I have to import the data to Access for a different program.
HELP!!!!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 492
Default Cell Formatting Removing Dashes

Try
=SUBSTITUTE(A1,"-","")
The cell must be formatted as text to retain the leading zeros,
Regards,
Alan.
"GIS Tech II" wrote in message
...
I am working with Excel, trying to remove dashes from Text
"000-000-000-000"
but still keep zeros. The cell MUST keep all 12 digits including zeros
for
it to work for me. The data is imported from a report program as
delimited
text, and then I have to import the data to Access for a different
program.
HELP!!!!!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Cell Formatting Removing Dashes

Alan,

Thanks a million, I'm not sure why I didn't think of creating a new
column.........

"Alan" wrote:

Try
=SUBSTITUTE(A1,"-","")
The cell must be formatted as text to retain the leading zeros,
Regards,
Alan.
"GIS Tech II" wrote in message
...
I am working with Excel, trying to remove dashes from Text
"000-000-000-000"
but still keep zeros. The cell MUST keep all 12 digits including zeros
for
it to work for me. The data is imported from a report program as
delimited
text, and then I have to import the data to Access for a different
program.
HELP!!!!!



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 dashes from a column Tommy Kramer 9 Excel Discussion (Misc queries) 7 January 16th 08 11:21 PM
removing dashes from numbers Pat Jones Excel Worksheet Functions 8 June 21st 07 08:44 PM
Removing dashes from ISBN's while still keeping 1st number (zero) aprilb Excel Worksheet Functions 3 October 12th 06 06:15 PM
removing dashes changes test into number DanM Excel Discussion (Misc queries) 3 September 21st 06 03:06 AM
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:34 PM.

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"