#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default Replace dashes

Hello
I have a column of numbers example 12-2222-02 . I need to delete the dashes.
the number should read 12222202 What is the fastest way to do this thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Replace dashes

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

The last argument is a pair of double quotes with no space between
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Wanna Learn" wrote in message
...
Hello
I have a column of numbers example 12-2222-02 . I need to delete the
dashes.
the number should read 12222202 What is the fastest way to do this
thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Replace dashes

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

Dave
--
Brevity is the soul of wit.


"Wanna Learn" wrote:

Hello
I have a column of numbers example 12-2222-02 . I need to delete the dashes.
the number should read 12222202 What is the fastest way to do this thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default Replace dashes

Thank soooo much.

"Dave F" wrote:

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

Dave
--
Brevity is the soul of wit.


"Wanna Learn" wrote:

Hello
I have a column of numbers example 12-2222-02 . I need to delete the dashes.
the number should read 12222202 What is the fastest way to do this thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Replace dashes

Select your range to fix
Edit|replace
what: - (dash)
with: (leave blank)
replace all

And maybe applying a custom format after is another way.

Wanna Learn wrote:

Hello
I have a column of numbers example 12-2222-02 . I need to delete the dashes.
the number should read 12222202 What is the fastest way to do this thanks


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default Replace dashes

Dave Thank you. Also I want to thank you for the click sort module in
Contextures you directed me to the other day. Thank you

"Dave Peterson" wrote:

Select your range to fix
Edit|replace
what: - (dash)
with: (leave blank)
replace all

And maybe applying a custom format after is another way.

Wanna Learn wrote:

Hello
I have a column of numbers example 12-2222-02 . I need to delete the dashes.
the number should read 12222202 What is the fastest way to do this thanks


--

Dave Peterson

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Replace dashes

You're welcome.

That's a good site to bookmark.

Wanna Learn wrote:

Dave Thank you. Also I want to thank you for the click sort module in
Contextures you directed me to the other day. Thank you

"Dave Peterson" wrote:

Select your range to fix
Edit|replace
what: - (dash)
with: (leave blank)
replace all

And maybe applying a custom format after is another way.

Wanna Learn wrote:

Hello
I have a column of numbers example 12-2222-02 . I need to delete the dashes.
the number should read 12222202 What is the fastest way to do this thanks


--

Dave Peterson


--

Dave Peterson
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
replace multiple entries in excel state=st west=w east=e conti Bob Excel Worksheet Functions 0 November 29th 06 09:03 PM
replace multiple entries in excel state=st west=w east=e conti Bob Excel Worksheet Functions 0 November 29th 06 08:47 PM
replace multiple entries in excel state=st west=w east=e continue Teethless mama Excel Worksheet Functions 0 November 29th 06 08:41 PM
Lookup and Replace Homer Jay Excel Worksheet Functions 3 September 19th 06 10:15 PM
Excel: Add replace within selection functionality Marcel XL Excel Discussion (Misc queries) 1 March 3rd 06 01:51 PM


All times are GMT +1. The time now is 03:58 PM.

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

About Us

"It's about Microsoft Excel"